You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2021/12/15 14:54:00 UTC

[jira] [Commented] (JCRVLT-575) do not fail if home path for package registry contains a symlink

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

Julian Reschke commented on JCRVLT-575:
---------------------------------------

The reason for this is that "createDirectories" fails when the last component is a symlink. Furthermore, when walking the registry tree, symlinks need to be followed. Will create a new PR.

> do not fail if home path for package registry contains a symlink
> ----------------------------------------------------------------
>
>                 Key: JCRVLT-575
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-575
>             Project: Jackrabbit FileVault
>          Issue Type: Task
>          Components: Misc
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>             Fix For: 3.5.8
>
>
> In this case, we currently see:
> {code}
> org.apache.jackrabbit.vault.packaging.registry.impl.FSPackageRegistry bundle org.apache.jackrabbit.vault:3.5.6 (151)[org.apache.jackrabbit.vault.packaging.registry.impl.FSPackageRegistry(264)] : The activate method has thrown an exception (java.nio.file.FileAlreadyExistsException: /path/to/file)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)