-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Also change the default when calling setTheme #1736
Conversation
From the code this looks ok and makes sense. But this should really be tested by one of the Reviewers to make sure it has no odd side effects. |
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.
Tested.
Should this be added to |
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.
In production for two weeks, seems good.
I think this is now ready to be merged |
Description (*)
When a custom controller is mailing multiple orders, first in a store where the design/theme/default is set (to "fr") and then in a store where it isn't set, we ran into problems where skinurls would refer to the first store used.
This is because calling
getTheme("skin")
the package would first look in$this->_theme["skin"]
, and if it found nothing (as emulation callssetTheme('')
), the packager will defer to callgetTheme("default")
, which returns "fr", rather than the expected "default" for the store.Manual testing scenarios (*)
Contribution checklist (*)