-
Notifications
You must be signed in to change notification settings - Fork 9.4k
magento/magento2#12250: View.xml is inheriting image sizes from paren… #14537
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/magento2#12250: View.xml is inheriting image sizes from paren… #14537
Conversation
|
Hi @quisse , described behavior is expected, nodes in view.xml file will be overwritten by parent theme if they wasn't defined. For your case with |
|
Hi @sidolov, ok i understand. Now I've made it possible to add nulllable attributes. |
|
Any update on this, @sidolov? |
sidolov
left a comment
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.
Hi @quisse , fix looks good for me, but I think it would be better review all properties from view.xsd and make nillable all elements that make sense for override in 3d party extensions
|
I've refactored for more nillable attributes and to me it looks like that's all. Do you agree? If not can you please suggest others? |
|
@sidolov ? |
|
Hi @sidolov, thank you for the review. |
|
Hi @quisse. Thank you for your contribution. Please, consider to port this solution to 2.3 release line. |
|
Already implemented in 2.3 by magento-architects/MAGETWO-91314-validate-new |
View.xml is inheriting image sizes from parent (so an optional field is replaced by the value of parent)
Description
Fixed Issues (if relevant)
Contribution checklist