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 "Julian Reschke (Jira)" <ji...@apache.org> on 2019/11/25 06:29:05 UTC
[jira] [Closed] (OAK-8668) Commit throws exception with incorrect
UpdateOp
[ https://issues.apache.org/jira/browse/OAK-8668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke closed OAK-8668.
-------------------------------
> 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)