You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Jörg Hoh (JIRA)" <ji...@apache.org> on 2019/02/15 17:20:00 UTC

[jira] [Created] (OAK-8056) Duplicate use of errorcode in TypeEditor

Jörg Hoh created OAK-8056:
-----------------------------

             Summary: Duplicate use of errorcode in TypeEditor
                 Key: OAK-8056
                 URL: https://issues.apache.org/jira/browse/OAK-8056
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.8.7, 1.10.1
            Reporter: Jörg Hoh


In the TypeEditor the errorcode 25 is used for 2 different error messages [1][2], and the error message indicates that is indeed a different issue. For [1] it would be nice to get more information of the type of issue displayed.

 

 

[1][https://github.com/apache/jackrabbit-oak/blob/929ad09e9dca4024180c51768a36537f2e75b6e6/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/TypeEditor.java#L484]

[2][https://github.com/apache/jackrabbit-oak/blob/929ad09e9dca4024180c51768a36537f2e75b6e6/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/TypeEditor.java#L473]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)