-
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
[Fixed] Category Update without "name" cannot be saved in scope "all" with REST API #22362
[Fixed] Category Update without "name" cannot be saved in scope "all" with REST API #22362
Conversation
Hi @niravkrish. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@niravkrish why it works on scope "default" without such change and does not work on "all" scope?
Hello @orlangur , |
@niravkrish why "default" scope update works without such change? We cannot add |
This can not allow to add or set null value to Category name. This is not pass null on save the data to database or anywhere. If we are not passing the name from request body the name key is set with null before and after applying this solution the key is set when there is name key is available with value. please let me know for further changes. Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@niravkrish ow, we allow null
value for any other getter here.
Still don't get why the bug is in "all" scope only but fix seems reasonable.
Hi @orlangur, thank you for the review. |
Hi @niravkrish, thank you for your contribution! |
…n scope "all" with REST API #22362
Description (*)
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)