You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2020/05/08 11:32:00 UTC
[jira] [Updated] (SLING-6989) Package Installer Factory: Prevent
package upload in case of uninstallation/2nd installation
[ https://issues.apache.org/jira/browse/SLING-6989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu updated SLING-6989:
-----------------------------------
Fix Version/s: (was: Installer Packages Factory 1.0.4)
Installer Packages Factory 1.0.6
> Package Installer Factory: Prevent package upload in case of uninstallation/2nd installation
> --------------------------------------------------------------------------------------------
>
> Key: SLING-6989
> URL: https://issues.apache.org/jira/browse/SLING-6989
> Project: Sling
> Issue Type: Improvement
> Components: Installer
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: Installer Packages Factory 1.0.6
>
>
> Currently in case a package is supposed to be uninstalled through the package installer, the package is first being uploaded to the PackageManager (https://github.com/apache/sling/blob/trunk/installer/factories/packages/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java#L138). That should not be necessary though. Instead the package id/version should be extracted from the underlying resource and then should be uninstalled.
> Also in case the package is already installed in the same version upload should be prevented.
> This applies to both regular and hollow package installation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)