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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2013/08/07 08:09:48 UTC
[jira] [Created] (OAK-943) Provide more details with
COmmitFailedException
Chetan Mehrotra created OAK-943:
-----------------------------------
Summary: Provide more details with COmmitFailedException
Key: OAK-943
URL: https://issues.apache.org/jira/browse/OAK-943
Project: Jackrabbit Oak
Issue Type: Improvement
Components: core
Affects Versions: 0.8
Reporter: Chetan Mehrotra
Priority: Minor
Currently if a commit fails due to conflict it throws following exception
{noformat}
Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakState0001: Unresolved conflicts in /
at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.failOnMergeConflict(ConflictValidator.java:82)
at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.propertyChanged(ConflictValidator.java:59)
at org.apache.jackrabbit.oak.spi.commit.CompositeEditor.propertyChanged(CompositeEditor.java:91)
at org.apache.jackrabbit.oak.spi.commit.EditorDiff.propertyChanged(EditorDiff.java:93)
at org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:355)
at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52)
{noformat}
With this much information its hard to see the conflict details. To help in debugging such issues the exception message must include the conflict related information
Discussion Thread - http://markmail.org/thread/4ipmyad6wwsy6th6
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira