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

Cancelling "latest posts" leads to an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.7.1, 4.8.0
    • 4.7.0
    • None
    • None
    • 4.8.0 M1

      How to reproduce : 

      • Create an article and open it in modification.
      • In content field, select "Latest posts" entry. Following frame is opened : 

      • Select cancel button => first frame is closed but this frame is present (it should not) : 

      • Select Complete View and click on Ok 

      => Error 

      Cannot read the array length because "<local6>" is null
      java.lang.NullPointerException: Cannot read the array length because "<local6>" is null
          at org.ametys.web.workflow.GetLastPublishedContents.generate(GetLastPublishedContents.java:84)
          at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581)
          at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301)

         

            raphael Raphaël Franchet
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: