Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-3424

Using the ametys:sitemap() in the contents causes an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.3
    • None
    • None
    • None

      The content does not know the context of the page

      Caused by: java.lang.NullPointerException
      	at org.ametys.web.repository.dom.PagesContainerElement.<init>(PagesContainerElement.java:73)
      	at org.ametys.web.repository.dom.SitemapElement.<init>(SitemapElement.java:56)
      	at org.ametys.web.repository.dom.SitemapElement.<init>(SitemapElement.java:43)
      	at org.ametys.web.transformation.xslt.AmetysXSLTHelper.sitemap(AmetysXSLTHelper.java:380)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:367)
      

            Unassigned Unassigned
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: