-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
MAGENTO 2.3.5 /V1/products overwrite default values on multi-store site even when only one field is sent to update #31083
Comments
Hi @lano-vargas. Thank you for your report.
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:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento give me 2.3.5 instance |
Hi @lano-vargas. Thank you for your request. I'm working on Magento instance for you. |
Hi @lano-vargas, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later. |
@magento give me 2.4-develop instance |
Hi @lano-vargas. Thank you for your request. I'm working on Magento instance for you. |
Hi @lano-vargas, here is your Magento Instance: https://b0b3dd658546aaed31c0d7fa585bd8e8-2-4-develop.instances.magento-community.engineering |
@magento-team The issue however is on 2.3.5 I cannot test REST api USING the instance 2.4 given url: Can you confirm if this is a bug please ? Thanks |
@magento give me 2.4-develop instance |
Hi @lano-vargas. Thank you for your request. I'm working on Magento instance for you. |
Hi @lano-vargas, here is your Magento Instance: https://b0b3dd658546aaed31c0d7fa585bd8e8-2-4-develop.instances.magento-community.engineering |
@magento I've replicated the issue on 2.4 instance see updated : I would spect only the Product Name checkbox to be unchecked but all store view fields checkbox are unchecked! |
Hi @engcom-Delta. Thank you for working on this issue.
|
Reproduced on 2.4.x |
✅ Confirmed by @engcom-Delta Issue Available: @engcom-Delta, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
@engcom-Delta possible duplicate #26484 |
Hi @lano-vargas, @zakdma. Thank you for your report and collaboration! The related internal Jira ticket The fix will be available with the upcoming |
Commits related to |
Nice thanks :) |
@hostep After trying the patch (https://github.com/magento/magento2/search?q=MC-39481&type=commits) to 2 magento instances. One 2.4.2 and one 2.3.5-p2 it creates a different problem. The problem that @lano-vargas said was fixed but a new issue arised. Let's say you have 1 website and 2 store views again. You create a product via API and then you try to update the product via API -> PUT @ domain/rest/{{store_code}}/V1/products/{{sku}} and change your locale values like the name. It works great so far. but then if you try to make another call to the same store view but change only ONE custom attribute, it then ticks off the use default again for all the attributes that were unchecked by the explicit api call that came before this one. So if you changed the name to be specific to the locale, it gets lost and uses the default value once again. ex.
|
@neddy236: that sounds pretty bad. Could you please open a new issue for this case? It will get picked up much faster that way. |
This feature now seems to delete my url rewrites :(. If default store has visibility 4 and you try to update a store without adding visibility in the request like this: |
Issue is fixed by this commit -> 306f515 |
Preconditions (*)
Steps to reproduce (*)
URL:
rest/all/V1/products
BODY
URL:
rest/en-ie/V1/products
BODY:
Expected result (*)
Actual result (*)
Thanks
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: