You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2017/12/19 14:15:00 UTC

[jira] [Comment Edited] (JCRVLT-177) jcr:content and its children not overwritten during installation of Simple File Aggregate

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

Konrad Windszus edited comment on JCRVLT-177 at 12/19/17 2:14 PM:
------------------------------------------------------------------

This issue also affects vlt:definition nodes below subpackages (as subpackages created through the maven-plugin are a binary ZIP file only). That means that both filter.xml as well as e.g. dependencies might be stale (as the vlt:definition is considered during package install).


was (Author: kwin):
This issue also affects vlt:definition nodes below subpackages (as subpackages created through the maven-plugin are a binary ZIP file only).

> jcr:content and its children not overwritten during installation of Simple File Aggregate
> -----------------------------------------------------------------------------------------
>
>                 Key: JCRVLT-177
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-177
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 3.1.38
>            Reporter: Konrad Windszus
>            Assignee: Tobias Bocanegra
>             Fix For: 3.1.40
>
>
> For simple file aggregates in a package, the child node {{jcr:content}} is not correctly overwritten.
> Example
> State in repository
> {code}
> + content
>   + test
>     + thumbnail.png [nt:file]
>       +  jcr:content [nt:resource]
>         + dam:thumbnails [nt:folder]
> {code}
> In my package I have the filter
> {code}
> <workspaceFilter version="1.0">
>     <filter root="/content/test"/>
> </workspaceFilter>
> {code}
> And the package content consists of only the binary file {{/content/test/thumbnail.png}}.
> Once I install that package it will not remove/recreate {{/content/test/thumbnail.png/jcr:content}} and also leave the child node {{dam:thumbnails}} in place.
> I would expect that {{/content/test/thumbnail.png/jcr:content/dam:thumbnails}} is removed with the installation of the package.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)