[
http://jira.nuxeo.org/browse/NXP-2245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36626#action_36626
]
Radu Darlea commented on NXP-2245:
----------------------------------
Trying to restore a folder's version:
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception:
javax.jcr.ItemNotFoundException. message: 4755f166-a9f4-41e0-a41f-9601f11627aa
at
org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:496)
at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:325)
at
org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:472)
at
org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:441)
at
org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:789)
at
org.nuxeo.ecm.core.repository.jcr.JCRSession.getDocumentByUUID(JCRSession.java:246)
at
org.nuxeo.ecm.core.api.DocumentResolver.resolveReference(DocumentResolver.java:67)
at
org.nuxeo.ecm.core.api.AbstractSession.hasPermission(AbstractSession.java:327)
Is this related to the objectives of the task?
> Improve versioning fields - snapshot creation correlation and rules
> -------------------------------------------------------------------
>
> Key: NXP-2245
> URL: http://jira.nuxeo.org/browse/NXP-2245
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Affects Versions: 5.1.5, 5.2
> Reporter: Dragos Mihalache
> Assignee: Dragos Mihalache
>
> There are 2 (two) different aspects regarding document versioning
> 1. versioning fields - which compose version number
> 2. snapshots creation - which relies on repository layer capacity for
> creating stalled copies of a document.
> The two are not currently correlated by default in nuxeo platform/core but in
> practice the label of a snapshot is formed from versioning fields values and
> also the versioning fields are incremented by rules that could take into
> account a snapshot creation.
> For now customer projects tend to implement different business logic at upper
> layers to handle necessary correlation between the two. This is obviously
> prone to malfunction mostly because the rules for version
> incrementation/actions are referring only to numbers.
> Desired implementation should deal with snapshot creation vs version number
> in a more coherent way:
> • permit automatic setting version label (for a snapshot) based on version
> number (the format should be customizable)
> • redefine versioning rules into a single, more general one - to avoid
> confusion.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets