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

Word export does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.7.3, 4.8.0
    • 4.7.0
    • None
    • None
    • 4.8.0 M3

      Word export does not work anymore, since TARTE-5 and the creation of the GDPRComponentHelper.

      The sitename is required in the request but not present. It leads to following error:

      Caused by: java.lang.NullPointerException: Cannot invoke "org.ametys.web.repository.site.Site.getValue(String)" because "site" is null
      at org.ametys.web.gdpr.GDPRComponentHelper.getSelectedGDPRComponent(GDPRComponentHelper.java:84)
      at org.ametys.web.gdpr.GDPRSourceFactory.getSource(GDPRSourceFactory.java:60)
      at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)
      at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:152)
      at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor._resolve(ThreadSafeTraxProcessor.java:612)
      at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor._resolve(ThreadSafeTraxProcessor.java:657)
      at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor$CachedTemplates.resolve(ThreadSafeTraxProcessor.java:798)
      at org.apache.xalan.processor.ProcessorInclude.getSourceFromUriResolver(ProcessorInclude.java:356)
      at org.apache.xalan.processor.ProcessorInclude.startElement(ProcessorInclude.java:135)
      at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:623)
      at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

            cbayle Caroline Bayle
            cbayle Caroline Bayle
            Caroline Bayle Caroline Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: