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

Create a new page : bug with the name

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0
    • 3.0 M5
    • Storage
    • None

      How to reproduce

      • connect to cms
      • create a page "?" (or 1 or more special characters, but without letter or number)

      Actual behavior

      • a pop-up is displayed about an error: "Une erreur est survenue lors de la création de la page.
        Il est conseillé d'actualiser votre vue avant de recommencer car un autre utilisateur a peut-être modifié l'arbre."
        Detail :
        Child name cannot be null, empty or absolute

      org.ametys.plugins.repository.AmetysRepositoryException: Child name cannot be null, empty or absolute
      at org.ametys.plugins.repository.jcr.TraversableAmetysObjectHelper.hasChild(TraversableAmetysObjectHelper.java:249)
      at org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObjectFactory.hasChild(DefaultTraversableAmetysObjectFactory.java:76)
      at org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObject.hasChild(DefaultTraversableAmetysObject.java:50)
      at org.ametys.web.repository.page.CreatePageAction.act(CreatePageAction.java:68)
      at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)
      [...]
      at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:132)
      at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator.generate(DispatchGenerator.java:81)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
      [...]
      at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:127)
      at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:86)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      [...]
      at java.lang.Thread.run(Thread.java:619)

      Expected behavior

      • no error

          [CMS-1372] Create a new page : bug with the name

          Anne-Sophie Labadie (Inactive) made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Laurence Aumeunier made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          Cédric Damioli made changes -
          Assignee New: Laurence Aumeunier [ laurence ]
          Laurence Aumeunier made changes -
          Component/s New: Storage [ 10052 ]
          Anne-Sophie Labadie (Inactive) made changes -
          Attachment New: screenshot-1.jpg [ 10479 ]
          Laurence Aumeunier made changes -
          Comment [ Confusion for this bug.

          The bug was seen one time and can not be be reproduce :
          For service parameter "Recherche par rubrique", the dialog box with the sitemap did not allow to select severals pages by checkboxes. The checkboxes were not displayed and selecting one page have no effect ]
          Laurence Aumeunier made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Laurence Aumeunier made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 3.0 [ 10146 ]
          Affects Version/s New: 3.0 M5 [ 10161 ]
          Anne-Sophie Labadie (Inactive) created issue -

            laurence Laurence Aumeunier
            aslabadie Anne-Sophie Labadie (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: