jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <mreut...@adobe.com>
Subject RE: Remove unused version history
Date Tue, 09 Jul 2013 11:25:04 GMT
Hi,

removing the last regular version of a version history should remove
the version history. See: https://issues.apache.org/jira/browse/JCR-134

however, there's a special case and an open issue, when only a root version
exists for a versionable node. see: https://issues.apache.org/jira/browse/JCR-3238

regards
 marcel

> -----Original Message-----
> From: Marek Slama [mailto:mslama@email.cz]
> Sent: Montag, 8. Juli 2013 15:54
> To: users@jackrabbit.apache.org
> Subject: Remove unused version history
> 
> Hello,
> 
> I want to ask if there is any way how to remove unused version history. My
> (incorrect used case)
> 
> 1.Add versionable node.
> 2.Remove versionable node without removing version history.
> 
> I know it is possible to remove version history when I get version history
> first from node using:
> versionHistory = versionManager.getVersionHistory(String absPath);
> 
> But if it is omitted I can only find out unused version history nodes but as
> they are protected it is not possible to
> remove it.
> 
> Thanks
> 
> Marek

Mime
View raw message