-
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
[2.2.4] Gallery theme variables being ignored #15009
Comments
Debugging from within magento/framework/Config/view.php
Notice that both Caption and Navarrows are empty, even though in the theme file
It would appear that any item set to false, is not being read properly. |
And here is the culprit ccc35c2#diff-79786eac5b88f578b5d99c9ca046d4af Broken during fix applied for #12285 |
Should be aware that the changes applied in #12285 were only applied to 2.2-develop and not 2.3-develop. Therefore 2.3-develop continues to use the strings "true" and "false" for boolean config variables and therefore does not require this fix. Update : I have created forwardports of the 12285 fix into 2.3 so they stay in sync |
Hi @sidolov , It seems that the fix wasn't included in the 2.2.7 or the 2.2.8 releases. Can this be included in a future 2.2.x release? |
Take a look at 2.2-develop. The whole gallery json code has been reworked and should be much improved in next release. |
Thanks @gwharton. I'm just wondering if the patch is going to be included in an official release. Since it's a bug, I think it can be included in 2.2.9 or 2.2.10, right? |
Check out #18443. Already merged into 2.2-develop. Will be in 2.2.9. It rewrites all the code causing these issues. |
I see! Looking into it. This is very helpful. Thanks! |
I'm currently running 2.3.4 (Bitnami w/ Smartwave's Porto Theme) and this issue appears to still be happening. It's a fresh install. |
(Some) Variables set in the theme's view.xml for the gallery widget appear to be ignored in 2.2.4 (This may also affect other variables, I don't know)
Preconditions
Steps to reproduce
Expected result
Actual result
This is new behaviour in 2.2.4. 2.2.3 did not do this.
I also have some other third party code that throws a wobbler, when it looks for the variable gallery/fullscreen/navarrows which it says does not exist, even though it is also declared in lumas view.xml
The text was updated successfully, but these errors were encountered: