-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix currency validator on BE. Throw error when value is empty. #16222
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
Conversation
Hi @bmxmale. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hello @bmxmale , Would you please provide a scenario to reproduce this issue? |
Hi @phoenix128, On Next prepare When magento read data from I also update to latest 2.2-develop version. Problem still persist. |
I confirm this issue, but I am not sure this is the way to fix it. |
@phoenix128 I agree to resolve problem on top level but fix for that could take some time. My fix don't mess much, but provide possibility to save config on this case. When you finish internal discussion I could help with fixing config from file case. |
I understand @bmxmale , |
Hello @bmxmale , The main problem seems to be in We are working to find a more complete solution unless you want to try to provide it. |
When running 'app:config:dump', admin fields get disabled, but clicking save will process them anyway This behaivour causes a validation check on empty fields since the admin form fields are disabled. This commit checks when the field is read only and skips its save.
Accepted Public Pull Requests: - #16576: [Backport] Declare module namespace before template path name (by @mageprince) - #16557: Updated SynonymGroup.xml (by @sanganinamrata) - #16553: Update mini-cart checkout translations (by @JeroenVanLeusden) - #16549: Corrected function comment (by @sanganinamrata) - #16524: Clear converted file data (by @gelanivishal) - #16517: Fix responsive tables showing broken heading (by @LordZardeck) - #16393: Rework for PR #16222 . (by @phoenix128) - #16090: Added and removed unnecessary translation for label/comment tags (by @yogeshks) - #16581: Removed double occurrences from files. (by @sanganinamrata) - #15909: [Backport] Fix for Wrong price amount on product page (by @gelanivishal) Fixed GitHub Issues: - #11717: Wrong price amount on product page (reported by @HirokazuNishi) has been fixed in #15909 by @gelanivishal in 2.2-develop branch Related commits: 1. ea16687 2. 8a4d966
Description
Add statement to ignore validation when value is empty.