[
https://issues.apache.org/jira/browse/OAK-8668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger updated OAK-8668:
----------------------------------
Description: 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. (was: 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.)
> 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
>
> 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)