sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Schaefer (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SLING-8800) A change in a Content Package will not be reflected in a Converted CP on a rebuild
Date Fri, 25 Oct 2019 15:26:00 GMT

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

Andreas Schaefer commented on SLING-8800:
-----------------------------------------

This is an issue with the VaultPackageAssembler class as it only adds and changes files but
does not remove files in the ZIP deflated folder and so removed files are staying in the package
forever.

I am looking into a solution where an existing deflated folder is deleted when the VaultPackageAssembler
is created to make sure we do not carry around old baggage. 

 

> A change in a Content Package will not be reflected in a Converted CP on a rebuild
> ----------------------------------------------------------------------------------
>
>                 Key: SLING-8800
>                 URL: https://issues.apache.org/jira/browse/SLING-8800
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>            Reporter: Andreas Schaefer
>            Priority: Major
>             Fix For: Content-Package to Feature Model Converter 1.0.0
>
>
> After a successful content package conversion any change in a content package will not
be reflected in a converted content package.
> The reason is that the temporary generated file inside a temporary folder created in
the VaultPackageAssembler is not deleted.
> The CP Converter should at least provide a flag to force the deletion but maybe it is
best to use a hash to see if the content has changed and if should delete the temporary folder.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message