Affects Version/s: 6.1.20 EE GA2
Fix Version/s: None
Environment:Liferay Developer Studio 1.6.1 bundled version
Similar Issues:Show 5 results
LPS-40603 JavadocFormatter is mismatching comments to parameters LPS-37771 No theme found for specified theme id for custom themes LPS-2016 Theme company limit should match web ID not company ID LPS-46885 Rename "id" to "name" in JSONWS discovery document LPS-2788 PermissionLocalServiceImpl.hasUserPermissions should take in a name that relates to the resource id
steps to reproduce:
1. create a theme named "demo-theme"
2. change the theme id from "demo" to "my-demo" in liferay-look-and-feel.xml (it just has to be something different to "demo"
3. deploy the theme
- Log says (multiple times) "No theme found for specified theme id my-demo. Returning the default theme."
- CSS variable resolution of (e.g.) @theme_image_path@ will return image path for classic theme (as this is what the message expressed).
Granted, steps 1 and 2 are an "artificial" way to reproduce, but this will also happen upon renaming the theme without changing the id.
Proposed solution is to either exclusively use the id or the theme context name - any will suffice. Another proposed solution is to change the theme build process to fail or generate a well-visible warning that the theme will not work when name/id don't match.