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 2016/01/22 22:48:39 UTC
[jira] [Commented] (JCRVLT-89) JcrPackageImpl.uninstall() throws
exception if snapshot is missing
[ 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)