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/11 17:34:00 UTC

[jira] [Updated] (JCRVLT-575) improve diagnostics when package registry points to a symlink, not a directory

     [ https://issues.apache.org/jira/browse/JCRVLT-575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke updated JCRVLT-575:
----------------------------------
    Description: 
In this case, we currently see:

 

{color:#1d1c1d}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){color}

 

{color:#1d1c1d}Would be nice if it pointed out that there's a symlink where a directory is supposed to be present or created. Or better yet, modify the code to follow the symlink.
{color}

  was:
In this case, we currently see:

 

{color:#1d1c1d}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){color}

 

{color:#1d1c1d}Would be nice if it pointed out that there's a swhere a directory is supposed to be present or created.{color}


> improve diagnostics when package registry points to a symlink, not a directory
> ------------------------------------------------------------------------------
>
>                 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:
>  
> {color:#1d1c1d}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){color}
>  
> {color:#1d1c1d}Would be nice if it pointed out that there's a symlink where a directory is supposed to be present or created. Or better yet, modify the code to follow the symlink.
> {color}



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