[ 
https://issues.apache.org/jira/browse/JCRVLT-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912834#comment-17912834
 ] 

Konrad Windszus commented on JCRVLT-791:
----------------------------------------

Even Oak API does not even privately expose a suitable method: 
https://github.com/apache/jackrabbit-oak/blob/fe9c04c3b567386dfb5d262971a278cd2c634a86/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/version/ReadWriteVersionManager.java#L428

> Allow to include node version history in package
> ------------------------------------------------
>
>                 Key: JCRVLT-791
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-791
>             Project: Jackrabbit FileVault
>          Issue Type: New Feature
>          Components: Packaging
>            Reporter: Konrad Windszus
>            Priority: Major
>
> Sometimes one doesn't want to only transfer the current version of a subtree 
> but also their history.
> Just including certain paths below {{/jcr:system/jcr:versionStorage}} will 
> not work as outlined in 
> https://s.apache.org/jcr-2.0-spec/15_Versioning.html#15.10%20Serialization%20of%20Version%20Storage.
> Instead FileVault would need to treat version nodes specially (similar to 
> Authorization/User nodes) and would need to leverage special JCR Versioning 
> API to restore it.
> In addition the filter parametrization needs to be extended in this regard to 
> be able to express how many versions (max) if at all should be included along 
> with a serialized node.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to