jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OAK-1997) Improve the message in UniquenessConstraintViolation exception to provide more details
Date Mon, 04 Aug 2014 10:29:13 GMT

     [ 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)

Mime
View raw message