[ 
https://issues.apache.org/jira/browse/JCRVLT-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated JCRVLT-177:
-----------------------------------
    Description: 
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.

  was:
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="/conf/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.


> 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
>
> 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.3.15#6346)

Reply via email to