Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-456

PlatformNameFormat.getRepositoryPath("/") returns "/" instead of ""

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.4
    • None
    • None
    • None

    Description

      According to https://docs.adobe.com/docs/en/spec/jcr/2.0/3_Repository_Model.html#3.1.3%20Names

      The name of the root node of a workspace is always ““ (the empty string).

      But https://github.com/apache/jackrabbit-filevault/blob/70dfb76e5c5aef46866b6e31570ce6cea9c9ccd7/vault-core/src/main/java/org/apache/jackrabbit/vault/util/PlatformNameFormat.java#L181 returns "/" for the platform path "/". 

      IMHO "" is supposed to be returned instead.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            kwin Konrad Windszus

            Dates

              Created:
              Updated:

              Slack

                Issue deployment