jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: Deleting versions when orignal node is deleted
Date Wed, 03 Aug 2011 10:29:07 GMT

2011/8/3 Peña Hernando, Enrique <enrique.pena@ineco.es>:
> Is there a way of deleting those orphan versions?

You should be able to search for all nt:versionHistory nodes and then
use the VersionHistory interface to remove all versions from those
version histories that are not referenced in content. Once the last
version of an orphan version history is removed, also the history node
gets automatically removed.


Jukka Zitting

View raw message