[
https://issues.apache.org/jira/browse/JCR-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved JCR-134.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Assignee: Jukka Zitting (was: Tobias Bocanegra)
Looks good, thanks! Patch applied in revision 778645. I'll merge it also to the
1.x branch for inclusion in the 1.6 release.
> Unreferenced VersionHistory should be deleted automatically.
> ------------------------------------------------------------
>
> Key: JCR-134
> URL: https://issues.apache.org/jira/browse/JCR-134
> Project: Jackrabbit Content Repository
> Issue Type: New Feature
> Components: versioning
> Reporter: Tobias Bocanegra
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 1.6.0
>
> Attachments: jackrabbit-1.4.x-JCR-134-first-try-2008-08-11.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.