Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-17

Dots in the title of an event cause a server error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.0
    • 1.0.0
    • None
    • None

      We should either block this case on the client or handle it on the server side.

      Caused by: javax.jcr.RepositoryException: Failed to resolve path aaa: relative to node /ametys:root/ametys:plugins/intranet/projects/interne/espace-projet-1/ametys-internal:resources/calendars/Mon calendrier
      	at org.apache.jackrabbit.core.NodeImpl.resolveRelativePath(NodeImpl.java:240)
      	at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:223)
      	at org.apache.jackrabbit.core.NodeImpl.hasNode(NodeImpl.java:2281)
      	at org.ametys.plugins.repository.jcr.TraversableAmetysObjectHelper.hasChild(TraversableAmetysObjectHelper.java:277)
      	... 125 more
      Caused by: org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: 'aaa:' is not a valid path. ':' not a valid name character.
      	at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:327)
      	at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:122)
      	at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:90)
      	at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:98)
      	at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77)
      	at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:82)
      	at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:648)
      	at org.apache.jackrabbit.core.session.SessionContext.getQPath(SessionContext.java:338)
      	at org.apache.jackrabbit.core.NodeImpl.resolveRelativePath(NodeImpl.java:238)
      	... 128 more
      

            glefebvre Grégory Lefebvre (Inactive)
            quentin Quentin Glinel-Mortreuil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: