jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-8668) Commit throws exception with incorrect UpdateOp
Date Thu, 03 Oct 2019 09:17:00 GMT

     [ https://issues.apache.org/jira/browse/OAK-8668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Reutegger resolved OAK-8668.
-----------------------------------
    Fix Version/s: 1.20.0
       Resolution: Fixed

Fixed in trunk: http://svn.apache.org/r1867920

> 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
>            Priority: Minor
>             Fix For: 1.20.0
>
>
> 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]
uses the wrong UpdateOp. It uses {{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)

Mime
View raw message