-
Bug
-
Resolution: Fixed
-
Major
-
2.0.17, 2.7.2
-
None
-
-
Empty show more show less
-
Yes
final Site fakeSiteWithProperName = Components.newInstance(currentSite.getClass());
This class can be e.g. Site$$EnhancerByCGLIB$$51b83c2e. Instance of such class then fails with NPE on setName().
Step to reproduce locally :
- Create forward mapping:
- class=info.magnolia.cms.beans.config.DefaultVirtualURIMapping
- fromURI=/test
- toURI=forward:/demo-project
- Change domain name to localhost.
- http://localhost:8080/magnoliaAuthor/test desktop works
- http://localhost:8080/magnoliaAuthor/test?mgnlChannel=smartphone white page
Acceptance criteria
- caused by
-
MGNLSTK-1135 SiteMergeFilter hardcodes Site for variations
- Closed