You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (Jira)" <ji...@apache.org> on 2020/07/28 00:45:00 UTC

[jira] [Commented] (JCRVLT-456) PlatformNameFormat.getRepositoryPath("/") returns "/" instead of ""

    [ https://issues.apache.org/jira/browse/JCRVLT-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17166043#comment-17166043 ] 

Tobias Bocanegra commented on JCRVLT-456:
-----------------------------------------

yes. I think "" should be used.

> PlatformNameFormat.getRepositoryPath("/") returns "/" instead of ""
> -------------------------------------------------------------------
>
>                 Key: JCRVLT-456
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-456
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>    Affects Versions: 3.4.4
>            Reporter: Konrad Windszus
>            Priority: Major
>
> According to [https://docs.adobe.com/docs/en/spec/jcr/2.0/3_Repository_Model.html#3.1.3%20Names]
> {quote}The name of the root node of a workspace is always ““ (the empty string).
> {quote}
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)