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

Cancelling "latest posts" leads to an error

    • 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)

         

          [CMS-11667] Cancelling "latest posts" leads to an error

          Magali Franchet made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Raphaël Franchet made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Ready to merge [ 10208 ] New: Resolved [ 5 ]
          Caroline Bayle made changes -
          Rank New: Ranked higher
          Magali Franchet made changes -
          Assignee New: Raphaël Franchet [ raphael ]
          Magali Franchet made changes -
          Status Original: Code review OK [ 10206 ] New: Ready to merge [ 10208 ]
          Caroline Bayle made changes -
          Rank New: Ranked higher
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.0 [ 17990 ]
          Fix Version/s New: 4.7.1 [ 17991 ]
          Fix Version/s Original: 4.7.0 [ 17704 ]
          Raphaël Franchet made changes -
          Status Original: Available for review [ 10005 ] New: Code review OK [ 10206 ]
          Raphaël Franchet made changes -
          Assignee Original: Raphaël Franchet [ raphael ]
          Raphaël Franchet made changes -
          Status Original: Open [ 1 ] New: Available for review [ 10005 ]

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

              Created:
              Updated:
              Resolved: