Julian Reschke created JCRVLT-698:
-------------------------------------

             Summary: allow primary nodetype updates that make the node more 
restrictive
                 Key: JCRVLT-698
                 URL: https://issues.apache.org/jira/browse/JCRVLT-698
             Project: Jackrabbit FileVault
          Issue Type: Improvement
          Components: vlt
            Reporter: Julian Reschke


Currently, vault allows changing primary types - but this only works in 
practive when the content after import actually conforms to the new type 
definition. Thus, using a new type that is more restrictive may fail later on 
when the session is saved.

A new mode could allow removing or moving away child items that conflict with 
the new type definition, but this will likely need to be an opt-in.

Furhermore, this would require replicating node type internals from the JCR 
implementation - instead, we could also consider exposing more information from 
the JCR implementation, such as listing conflicting child nodes (throug an 
extension API).





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

Reply via email to