jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Satya Deep Maheshwari <m.satyad...@gmail.com>
Subject Re: [JCRVLT]Unexpected package uninstall behavior
Date Fri, 07 Jul 2017 06:23:03 GMT
While investigating this a bit further, if I change the filter such that it
defines a 'root' instead of 'include' then the package uninstall achieves
the desired behavior i.e. delete the nodes that it created on installation.

<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
    <filter root="/paren/child1"/>

Any suggestions on why this is behaving differently from 'include' entry in
the filter?

On Wed, Jul 5, 2017 at 6:07 PM, Satya Deep Maheshwari <m.satyadeep@gmail.com
> wrote:

> Hi
> When I try to uninstall a package I expected that all the contents created
> by it on installation would be removed but that does not seem to be the
> case. For e.g. I have a package with the filter.xml as follows:
> <?xml version="1.0" encoding="UTF-8"?>
> <workspaceFilter version="1.0">
>     <filter root="/parent">
>         <include pattern="/parent/child1"/>
>     </filter>
> </workspaceFilter>
> When I install this package, /parent/child1 is created. On
> un-installation, these nodes continue to exist. I may be missing something
> here regarding the behavior of filter configurations. Please suggest.
> Regards
> Satya Deep

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message