XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.18, 2.7.3
    • 2.0.17, 2.7.2
    • None
    • 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 :

      1. Create forward mapping:
      • class=info.magnolia.cms.beans.config.DefaultVirtualURIMapping
      • fromURI=/test
      • toURI=forward:/demo-project
      1. Change domain name to localhost.
      2. http://localhost:8080/magnoliaAuthor/test desktop works
      3. http://localhost:8080/magnoliaAuthor/test?mgnlChannel=smartphone white page

        Acceptance criteria

              rkovarik Roman Kovařík
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: