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

Create a new page : bug with the name

XMLWordPrintable

    • 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

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

              Created:
              Updated:
              Resolved: