jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul J DeCoursey <p...@decoursey.net>
Subject Re: [jira] Commented: (JCR-134) Unreferenced VersionHistory should be deleted automatically.
Date Mon, 11 Dec 2006 20:41:14 GMT
Cédric Damioli (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/JCR-134?page=comments#action_12457455 ] 
> Cédric Damioli commented on JCR-134:
> ------------------------------------
> The VH need only to be kept when there are remaining Version attached to it.
> In many apps, it would be great to get rid of empty VH (ie no more Version, and no more
Node referencing it).
This doesn't seem right to me.  Kind of defeats the purpose of 
Versioning if we start removing deleted items, deleted is just another 
state in the history that should be tracked and preserved.

>> Unreferenced VersionHistory should be deleted automatically.
>> ------------------------------------------------------------
>>                 Key: JCR-134
>>                 URL: http://issues.apache.org/jira/browse/JCR-134
>>             Project: Jackrabbit
>>          Issue Type: New Feature
>>          Components: versioning
>>            Reporter: Tobias Bocanegra
>>         Assigned To: Tobias Bocanegra
>>            Priority: Minor
>> since the creation of a VersionHistory is triggered by the creation of a mix:versionable
node, the removal should happen automatically, as soon as no references to that version histroy
exist anymore. this is the case, when all mix:versionable nodes (in all workspaces) belonging
to that VH are deleted, and all the versions in the VH are removed i.e. only the jcr:rootVersion
is left. At this point, the VH should be deleted aswell.

View raw message