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 2017/06/21 08:24:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Tobias Bocanegra resolved JCRVLT-177.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.1.40

thanks for the patch [~kwin].

fixed in r1799400

> 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)