Affects Version/s: 5.5.1, 6.0.0
Support Ticket IDs:
Needs QA verification:No
Are the reproduction steps defined?:Yes and I used the same an in the description
Even though realm names can be created (and are shown) with mixed case, they are case-insensitive and two realms of the same name with different case can not be created.
Equally, at the XUI, providing `?realm=/myrealm` or `?realm=/MYREALM` resolves to the same realm.
In the Theme Configuration however, the following works:
The following does not:
Steps to Reproduce
- Step 1. Create a realm named "myRealm"
- Step 2. Map a theme to the realm "/myRealm" in the XUI (see example above)
- Step 3. Navigate to "myRealm" in the XUI
Chosen theme is applied.
Chosen theme is not applied.
Use lowercase for the realm name in the theme configuration.
The logic in ThemeManager appears to compare the realm names without removing the casing first.
The same may be also true of the chain mapping and should be checked.