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

Tobias Bocanegra commented on JCRVLT-89:
----------------------------------------

fixed by only throwing the exception in _strict_ mode (i.e. of 
{{ImportOptions.isStrict() == true}})

r1726322

> JcrPackageImpl.uninstall() throws exception if snapshot is missing
> ------------------------------------------------------------------
>
>                 Key: JCRVLT-89
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-89
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Tobias Bocanegra
>            Priority: Minor
>
> The package manager allows to install packages w/o snapshots using the 
> extract() method. such an installed package is marked 'installed' 
> nevertheless.
> a subsequent call to uninstall() will throw an exception:
> {noformat}
> Caused by: org.apache.jackrabbit.vault.packaging.PackageException: Unable to 
> uninstall package. No snapshot present.
> at 
> org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.uninstall(JcrPackageImpl.java:587)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to