Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2327

Support leading & trailing spaces in node names and paths

    Details

      Description

      Through Session.move(), I've tried to change the name of a node, adding a leading space character.
      For example, from "/root/child/name.jpg" to "/root/child/ name.jpg".
      The call to Session.move() and Session.save() didn't throw any error but the end result was a no-op: the node name hasn't changed.
      On the contrary, moving from "/root/child/name.jpg" to "/root/child/_name.jpg" worked fine.
      Is the (leading) space character invalid in a node name?
      Or is there any peculiarity in JCR / ModeShape that I'm not aware of?
      Thanks.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dalbani Damiano Albani
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: