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 09:17:00 UTC
[jira] [Resolved] (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 ]
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)