You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2017/01/26 16:41:24 UTC

[jira] [Comment Edited] (SLING-6484) PackageTransformer will install packages with the same name/group/version only once

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

Konrad Windszus edited comment on SLING-6484 at 1/26/17 4:40 PM:
-----------------------------------------------------------------

Attached is a proposed patch, which will trigger reinstallation of the package always in case we are dealing with SNAPSHOT version. The cleaner solution though would be to fix the behaviour of {{JcrPackage.isInstalled}} in FileVault.


was (Author: kwin):
Attached is a proposed patch, which will trigger reinstallation of the package always in case we are dealing with SNAPSHOT version.

> PackageTransformer will install packages with the same name/group/version only once
> -----------------------------------------------------------------------------------
>
>                 Key: SLING-6484
>                 URL: https://issues.apache.org/jira/browse/SLING-6484
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: Installer Packages Factory 1.0.0
>            Reporter: Konrad Windszus
>         Attachments: SLING-6484v01.patch
>
>
> Due to the check in https://github.com/apache/sling/blob/trunk/installer/factories/packages/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java#L219, installation of the same package (same version, name and group) will be prevented the 2nd time, even if a modified version has been uploaded in between.
> See the related ticket JCRVLT-155.



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