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 "Marcel Reutegger (Jira)" <ji...@apache.org> on 2019/10/03 07:26:00 UTC

[jira] [Created] (OAK-8668) Commit throws exception with incorrect UpdateOp

Marcel Reutegger created OAK-8668:
-------------------------------------

             Summary: Commit throws exception with incorrect UpdateOp
                 Key: OAK-8668
                 URL: https://issues.apache.org/jira/browse/OAK-8668
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: documentmk
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger


The exception message constructed in [Commit.applyToDocumentStore()|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.16.0/oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/Commit.java#L394] used the wrong UpdateOp. It used {{commitRoot}} instead of {{commit}}. The operations of the two are the same, but the latter also contains a condition, which is currently not part of the exception message.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)