Skip to content

2.2.4 EE Unable to change themes of stores #15873

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

Closed
silvanaguilar opened this issue Jun 5, 2018 · 5 comments
Closed

2.2.4 EE Unable to change themes of stores #15873

silvanaguilar opened this issue Jun 5, 2018 · 5 comments
Labels
Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed

Comments

@silvanaguilar
Copy link

silvanaguilar commented Jun 5, 2018

On Magento 2.2.4 EE I'm not able to apply different themes on different stores.

Preconditions

  1. Win 10, Mac Sierra or Ubuntu 18.04 (tested on all of them)
  2. Magento 2.2.4
  3. Docker 18.03.1, PHP 7.1.13

Steps to reproduce

  1. Go to the administrator
  2. Create one more store under Stores/All Stores in order to have the "Default Store View" and "Second Store View".
  3. Go to Content/Design/Configuration and apply the Magento Blank theme to the first store and Luma to the second one
  4. Now, go to Store/Configuration -> General/Web -> Url Options and select YES on the Add Store Code to Urls option (so at the end of the domain the code of the store will be added)
  5. Go to the frontend and visit both stores.
    ie: my first store url is magento2.test/default and my second url is magento2.test/second

Expected result
6. Default Store View should display Blank theme
7. Second Store View should display Luma Theme

Actual result
8. Both stores are displaying Blank theme

2a-stores
2b-website-code
3-design-conf
4-store-code-to-urls
8a-second-website
8b-default-website

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Jun 5, 2018
@DanielRuf
Copy link
Contributor

DanielRuf commented Jun 5, 2018

Did you clear all Magento caches and deploy the static content?

@silvanaguilar
Copy link
Author

Yes, I absolutely did both

@silvanaguilar silvanaguilar changed the title Unable to change themes of stores 2.2.4 Unable to change themes of stores Jun 6, 2018
@silvanaguilar silvanaguilar changed the title 2.2.4 Unable to change themes of stores 2.2.4 EE Unable to change themes of stores Jun 6, 2018
@hostep
Copy link
Contributor

hostep commented Jun 6, 2018

@silvanaguilar: this is a know bug in 2.2.4, it was reported before, if you use multiple websites, the configuration fallback no longer works properly. See these other tickets: #15205, #15245

The release notes for 2.2.4 were updated yesterday and this warning was added:

Known issue
Customers have reported the following behavior after upgrading to Magento 2.2.4 in deployments that span multiple websites:

Magento multi-store installations do not use the store view-specific values from the store configuration settings if these settings have different values than the global default configuration settings. Instead, Magento uses the default configuration for all store views. GitHub-15205, GitHub-15245

We do not recommend upgrading to Magento 2.2.4 if you deploy across multiple websites. Note that this problem is not triggered if you have only a single website with multiple stores or store views.

@fmarangi
Copy link

fmarangi commented Jun 7, 2018

The problem was introduced in c18e36b, the session configuration object is initialized too early, before the pathinfo is processed. The fix is really simple and involves using a proxy, I'm currently working on a PR for it.

@hostep
Copy link
Contributor

hostep commented Jun 25, 2018

Let's quote from the PR to provide info when this issue will be fixed:

fix will be available in 2.2.5 release, the changes were delivered to 2.2.5 release line in the separate internal pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed
Projects
None yet
Development

No branches or pull requests

5 participants