Closed
Description
Preconditions
- Magento 2.1.1
Steps to reproduce
- Create a product via the Rest API, including a price and weight
Expected result
- The product is saved with the price and weight
Actual result
- The price and weight are not saved and are not returned in the result of the POST request.
I traced this down to the BeforeEntitySave observer, where the price seems to be stripped off the product when $entity->beforeSave() is called. I did not continue research after that.
Workaround is to execute the post request again. During the update of the product, the price seems the be saved correctly.
Metadata
Metadata
Assignees
Labels
USE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog WEB API use just CatalogThe issue has been fixed in 2.2 release lineGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.1 releaseThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release