You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/01/31 11:13:00 UTC

[jira] [Created] (JCRVLT-602) Optionally fail installation with conflicting nodetypes or namespaces

Konrad Windszus created JCRVLT-602:
--------------------------------------

             Summary: Optionally fail installation with conflicting nodetypes or namespaces
                 Key: JCRVLT-602
                 URL: https://issues.apache.org/jira/browse/JCRVLT-602
             Project: Jackrabbit FileVault
          Issue Type: Improvement
            Reporter: Konrad Windszus


Currently the [JcrNodeTypeInstaller|https://github.com/apache/jackrabbit-filevault/blob/5489b1f13e38f92a737fdb87a3b3dba860136c22/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/impl/jcr20/JcrNodeTypeInstaller.java#L63] does not fail in case 

#. a node type with the same name is already installed but differs in its definition
#. a namespace mapping towards a URI is already defined with a different prefix

As both situations usually lead to errors (sometimes only visible after package installation) the package installation should fail in those cases.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)