Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating a product through the API unchecks "Use Default Value" on a bunch of attributes #26484

Closed
Zyles opened this issue Jan 22, 2020 · 38 comments
Labels
CD Issue recommended for the contribution day Component: Api Use with concrete module component label E.g. "Component: Api" + "Catalog" Component: Catalog Fixed in 2.4.x The issue has been fixed in 2.4-develop branch Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: done Reported on 2.3.3 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Severity: S2 Major restrictions or short-term circumventions are required until a fix is available.

Comments

@Zyles
Copy link

Zyles commented Jan 22, 2020

When you update a product. For example adding an image using the API. Which is totally unrelated to anything else, such as editing price.

The checkbox "Use Default Value" becomes unchecked on a bunch of attributes, such as price.

This turns into a problem when you want to edit the product later, update the price, or the description etc. and nothing happens. So you have to change store view scope to that particular store, check the box "Use Default Value" and save to be able to change the price.

This should not happen in the first place.

Preconditions (*)

  1. Magento 2.3.3
  2. 2 store views

Steps to reproduce (*)

  1. Create 2 store views
  2. Add a new product with a price
  3. Change store view on the product. You can see "Use Default Value" for price is checked.
  4. Update the product using the API, for example uploading an image
  5. View the product again and change store scope
  6. Notice the "Use Default Value" on price is now unchecked (amongst other attributes)

Expected result (*)

Checkbox "Use Default Value" should remain checked until a user actually unchecks it.

Actual result (*)

Checkbox "Use Default Value" unchecks itself when you update the product using the API for all store views.

Additional info

I just re-produced it on 2.4-dev.

Seems to be a problem with scopes.

In addition to the steps above, do the following:

  1. Stores > All Stores. Click "Main Website Store" and change "Default Store View" to the second store view

image

  1. Open "Default Store View" and change to status to disabled
  2. Go into product, select scope "Default store view" (first store) Click "Use Default Value" on everything. Save.
  3. Change store scope to second store view. Click "Use Default Value" on everything. Save.
  4. Change scope to second store view again. A bunch of "Use Default Value" are unchecked.

image

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Jan 22, 2020
@m2-assistant
Copy link

m2-assistant bot commented Jan 22, 2020

Hi @Zyles. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

@Zyles do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • yes
  • no

@m2-assistant
Copy link

m2-assistant bot commented Jan 23, 2020

Hi @engcom-Bravo. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Add label Issue: Confirmed once verification is complete.

  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-Bravo
Copy link
Contributor

Hello @Zyles,
Thank you for your report.

Unfortunately, we are not able to reproduce this issue.
We tried to reproduce it via Swagger API, catalogProductAttributeMediaGalleryManagementV1 POST
/V1/products/{sku}/media

We are using the following body

{
  "entry": {
    
    "media_type": "image",
    "label": "string",
    "position": 0,
    "disabled": false,
    "types": [
      
    ],
    "file": "test.jpeg",
    "content": {
      "base64_encoded_data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBw0NDQ0NDw0QDg0NDQ8NDQ4PDw8QEhAOGBEXFxURFRUYHCggGBomGxYVITEhJSkrLy4uFx8zODMsNzQtLisBCgoKDQ0ODg0NDisZHxkrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrK//AABEIAOEA4QMBIgACEQEDEQH/xAAcAAEAAwADAQEAAAAAAAAAAAAABQYHAQQIAwL/xABIEAACAgECAgUGBw0GBwAAAAAAAQIDBAUREiEGMUFRYQcTFCIycSNCVJGSk9EVFhdDUlZigYKUodLTJTNVcrHhJDVTosHi8P/EABUBAQEAAAAAAAAAAAAAAAAAAAAB/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A2QABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHxyMqFe8W+Kzzc7Y1R2dk4Q24nGO/PnKK98kU78Kekd+T9R/wCwF3BXejvTXT9SulRjzsVsYOzhsr4OKKaT4eb3a3RYgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB+bbIwjKcpKMIRcpSb2UYpbtvw2P0Zz5X+kfmaI6dVLazISnkNdccfflD9pr5ovvApmp9Nrp6xHVKnLgpn5uml8k8RcnB+M05N9za7kc+UXR6q7q9Rxdng6nHz9bXJRua3nB92/tbf5l2FSfcXnoNkV5+JkaBkSS88pX6dOX4vIS4nFfxlsuzzneEU7StQtw8inK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D6cP6JU/QMj5Pd9TZ9g9AyPk931Vn2AW1dNdO/NrB+nD+iH000782sH6cP6JUlgZHye76mz7CT6O9GsnOy6cbzVtcJy3ttlXJKFS5ylu1tvtyXi0BsXk7yYZGJPJr02nTqrrXwQpafnlFcLsltCO3PeK/y+4tR88XHhTXXVXFQrqhGuuC6owS2SX6j6BQAAAAAAAAAAAAAAAAAAAAAAAAAAAABzu+8bvvOABzu+8bvvOABzu+8bnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB//2Q==",
      "type": "image/jpeg",
      "name": "test.jpeg"
    }
    
  }
}

The product is updated, image added. But when we switch between Store Views, the Use Default value checkboxes are still checked. We tried to reproduce with one Website and several, the result is the same, all checkboxes are checked.
usedefaultcheckboxes

Can you please provide us with more info: the number of Websites and StoreViews, which API Client and query body you are using?

Thank you for your contribution.

@Zyles
Copy link
Author

Zyles commented Jan 23, 2020

Where is the text swatch?

Look at the other store views.

@Zyles
Copy link
Author

Zyles commented Jan 23, 2020

Oh sorry another issue.

See if the effect happens if you do this: #26481

Could be related to the text swatch that unchecks the boxes.

I also found this: https://community.magento.com/t5/Magento-2-x-Technical-Issues/quot-Use-Default-Values-quot-Checkbox-Unchecked-While-Update/td-p/137217

So can be related to $Product->save(); and swatches. I assume that call is being made when you update something with the API.

@engcom-Bravo
Copy link
Contributor

Hello @Zyles

Thank you for your quick response. Can you please clarify what do you mean by "See if the effect happens if you do this: #26481" ?
The issue #26481 is already Confirmed and is Ready for Work

Thank you

@Zyles
Copy link
Author

Zyles commented Jan 24, 2020

That issue does not mention the "unchecking of use default value" problem.

But it MAY be related to text swatch.

Please confirm by testing with a text swatch with a default value on the product.

@engcom-Bravo
Copy link
Contributor

Hello @Zyles

We have tested Updating the product with Text Swatch attribute through the API.
We have rechecked with a default value1, for example,
swatch_2
and with default empty value.
swatch_1

Rechecked with two API requests:

  • catalogProductRepositoryV1 PUT /V1/products/{sku}
  • catalogProductAttributeMediaGalleryManagementV1 POST
    /V1/products/{sku}/media

The Use Default Value checkboxes do not become unchecked on all Store Views

This issue is not reproducible on Magento 2.4-develop, so we have to close it.
Please feel free to comment, reopen or create new ticket according to the Issue reporting guidelines
if you are still facing this issue on the latest 2.4-develop branch.

Thank you for collaboration.

@Zyles
Copy link
Author

Zyles commented Jan 31, 2020

I just re-produced it on 2.4-dev.

Seems to be a problem with scopes.

In addition to the steps above, do the following:

  1. Stores > All Stores. Click "Main Website Store" and change "Default Store View" to the second store view

image

  1. Open "Default Store View" and change to status to disabled
  2. Go into product, select scope "Default store view" (first store) Click "Use Default Value" on everything. Save.
  3. Change store scope to second store view. Click "Use Default Value" on everything. Save.
  4. Change scope to second store view again. A bunch of "Use Default Value" are unchecked.

image

Please confirm.

@Zyles
Copy link
Author

Zyles commented Feb 4, 2020

Please re-open this issue.

@engcom-Bravo engcom-Bravo reopened this Feb 4, 2020
@ghost ghost unassigned engcom-Bravo Feb 4, 2020
@blacktek
Copy link

blacktek commented Feb 4, 2020

I've the same issue on 2.3.3; after creating a product it's enough to send the empty payload {"product":{}} in PUT to /en/index.php/rest/<shop_code>/V1/products/ in order to uncheck all the "Use Default Value" attributes having scope "website"

could you please double check?

@engcom-Bravo engcom-Bravo self-assigned this Feb 5, 2020
@engcom-Bravo engcom-Bravo added the Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch label Feb 5, 2020
@magento-deployment-service
Copy link

Thanks for opening this issue!

@engcom-Bravo engcom-Bravo added Component: Api Use with concrete module component label E.g. "Component: Api" + "Catalog" Component: Catalog Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Feb 5, 2020
@ghost ghost unassigned engcom-Bravo Feb 5, 2020
@magento-engcom-team magento-engcom-team added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Feb 5, 2020
@magento-engcom-team
Copy link
Contributor

✅ Confirmed by @engcom-Bravo
Thank you for verifying the issue. Based on the provided information internal tickets MC-31118 were created

Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@engcom-Bravo engcom-Bravo added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Feb 5, 2020
@Zyles
Copy link
Author

Zyles commented Feb 5, 2020

This has caused massive problems for us.

When we update our product prices using the API, every single product has unchecked the "Use default" values.

So that means everytime we edit a product, disable it etc. We have to do it on multiple storefronts because the values are no longer shared.

@hostep
Copy link
Contributor

hostep commented Feb 5, 2020

This is a duplicate of #9186 btw
The official response from the Magento Enterprise support can be found here (more then 6 months have passed since then, it looks like nothing happened, yay!)

@magento-engcom-team magento-engcom-team added the Reported on 2.3.3 Indicates original Magento version for the Issue report. label Nov 13, 2020
@domi-nique
Copy link

We have exactly the same problem at the moment - but we are not using the API, we used the Import functionality and now... all our products are a huge mess and when saving a field in a store view, sometimes all the translations are kicked out without noticing.
This bug is not Low Priority... This should be critical. Multistore Setup with Magento 2 is impossible with this bug.

@lbajsarowicz
Copy link
Contributor

@domi-nique I tried to resolve the issue several times, but significant resources are necessary to solve it. If it is critical for you - you can assign your resources to resolve it - at least partially.

@m2-assistant
Copy link

m2-assistant bot commented Dec 29, 2020

Hi @engcom-Golf. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:

    1. Add/Edit Component: XXXXX label(s) to the ticket, indicating the components it may be related to.
    1. Verify that the issue is reproducible on 2.4-develop branch
      Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
      - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
      - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
    1. If the issue is not relevant or is not reproducible any more, feel free to close it.

@m2-community-project m2-community-project bot moved this from Ready for Development to Dev In Progress in High Priority Backlog Dec 29, 2020
@Vishrootways
Copy link

Try below POST URL, it should solve the issue of unchecks "Use Default Value"

rest/all/V1/products/{sku}

@Zyles
Copy link
Author

Zyles commented Dec 30, 2020

Try below POST URL, it should solve the issue of unchecks "Use Default Value"

rest/all/V1/products/{sku}

How do you upload an image to this endpoint?

@blacktek
Copy link

Try below POST URL, it should solve the issue of unchecks "Use Default Value"

rest/all/V1/products/{sku}

POST is supposed to only create products, not update them.

If you look at my previous post:

I've the same issue on 2.3.3 (and 2.3.5 now); after creating a product it's enough to send the empty payload {"product":{}} in PUT to /en/index.php/rest/<shop_code>/V1/products/ in order to uncheck all the "Use Default Value" attributes having scope "website"

this is my (easy) way to reproduce the problem

@Vishrootways
Copy link

@blacktek It's a typo, I tried with PUT using the below endpoint and the product has been updated.
rest/all/V1/products/{sku}

@Zyles Still I didn't test the above endpoint with images

@hostep
Copy link
Contributor

hostep commented Jan 21, 2021

This might have been finally fixed: #31083 (comment) (not tested myself)

@engcom-Golf
Copy link
Contributor

Can not reproduce on 2.4-develop. This issue has been fixed in #31083.
Will close this one.

@m2-community-project m2-community-project bot moved this from Dev In Progress to Done in High Priority Backlog Jan 28, 2021
@magento-engcom-team magento-engcom-team added the Fixed in 2.4.x The issue has been fixed in 2.4-develop branch label Jan 28, 2021
@magento-engcom-team
Copy link
Contributor

Hi @Zyles, @engcom-Golf.

Thank you for your report and collaboration!

The related internal Jira ticket MC-31118 was closed as Fixed.

The fix will be available with the upcoming 2.4.3 release.

@ssstankiewicz
Copy link

@magento-engcom-team It occurs again in Magento 2.4.5. Adding new image via API to product cause uncheck checkboxes for 'Use default value'

Product before request:
24-MB01_before_request

Product after request:
24-MB01_after_request

Request endpoint: /rest/en/V1/products/24-MB01/media
Request body:
24-MB01_request.odt

@blacktek
Copy link

blacktek commented Jan 9, 2023

what is the status for this issue that happens again on 2.4.5?

@blacktek
Copy link

@thomas-kl1 do you think we can use your fix in production, despite it didn't pass all tests? we urge to migrate from 2.4.3 to 2.4.5 because we're on php7.4 that is end of life. Thank you

@thomas-kl1
Copy link
Member

Hi @blacktek

The fix helps with the loss of data when using the Magento webapi. I'm not sure we can rely on the tests as many of them are dumb tests that check the implementation instead of the expected result.
So you can use it at your own risk.
Regarding the issue of "default value checkboxes", I don't think it's actually solved, but it's not a blocking issue (just think to update the product for each scopes).
Magento suffer a lot of its implementation of scopable EAV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CD Issue recommended for the contribution day Component: Api Use with concrete module component label E.g. "Component: Api" + "Catalog" Component: Catalog Fixed in 2.4.x The issue has been fixed in 2.4-develop branch Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: done Reported on 2.3.3 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Severity: S2 Major restrictions or short-term circumventions are required until a fix is available.
Projects