-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.0.0, 6.0.0.3, 6.5.0
-
Component/s: XUI
Bug description
When implementing an XUI customisation with "XUI/themes/dark/templates/" and adding the path variable to theme configuration, the FooterTemplate.html and LoginHeaderTemplate.html templates are always picked up the default templates config "XUI/templates/".
How to reproduce the issue
- checked out am-external and the releases/6.0.0.3 branch
- copied the templates from src/main/resources/templates to src/main/resources/themes/dark/templates
- edited the themes/dark/templates/common/FooterTemplate.html to contain a <hr /> and <h1>test</h1> within the div
- edited the main/js/config/ThemeConfiguration.js so the dark theme has the path variable e.g. path: "dark/" and the fr-dark-theme is mapped to the route realm
- run a mvn clean install on the openam-ui-ria project
- copied the contents of the outputted build folder into my running AM/XUI folder
- attempted to access the the mapped realm to the dark theme it fails to loads with the custom line break and heading in the footer
Expected behaviour
Expect the custom footer template to load when accessing the realm mapped to that theme
Current behaviour
Currently the default templates are always loaded
- is related to
-
OPENAM-13249 AM 6 doesn't recognize custom templates and partials
-
- Resolved
-
- relates to
-
OPENAM-13457 AM 6 XUI favicon icon not being recognised
-
- Resolved
-
-
OPENAM-14054 XUI Custom templates and Partials not applied consistently
-
- Resolved
-