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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2014/08/04 12:29:13 UTC
[jira] [Closed] (OAK-1997) Improve the message in
UniquenessConstraintViolation exception to provide more details
[ https://issues.apache.org/jira/browse/OAK-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Mueller closed OAK-1997.
-------------------------------
> Improve the message in UniquenessConstraintViolation exception to provide more details
> --------------------------------------------------------------------------------------
>
> Key: OAK-1997
> URL: https://issues.apache.org/jira/browse/OAK-1997
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.1, 1.0.4
>
>
> Currently if there is a Uniqueness constraint violated then following exception is logged
> {noformat}
> Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakConstraint0030: Uniqueness constraint violated for key b172bdae-a94d-465e-be44-7be606dac458
> at org.apache.jackrabbit.oak.plugins.index.property.PropertyIndexEditor.leave(PropertyIndexEditor.java:280)
> at org.apache.jackrabbit.oak.spi.commit.VisibleEditor.leave(VisibleEditor.java:64)
> at org.apache.jackrabbit.oak.spi.commit.CompositeEditor.leave(CompositeEditor.java:74)
> {noformat}
> The exception message should be improved to provide more details like path and propertyNames where the constraint failed
--
This message was sent by Atlassian JIRA
(v6.2#6252)