You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/01/14 15:38:00 UTC

[jira] [Commented] (SLING-10063) Improve error message when adding invalid properties

    [ https://issues.apache.org/jira/browse/SLING-10063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264964#comment-17264964 ] 

Konrad Windszus commented on SLING-10063:
-----------------------------------------

PR at https://github.com/apache/sling-org-apache-sling-jcr-resource/pull/13.

> Improve error message when adding invalid properties
> ----------------------------------------------------
>
>                 Key: SLING-10063
>                 URL: https://issues.apache.org/jira/browse/SLING-10063
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Resource 3.0.22
>            Reporter: Konrad Windszus
>            Priority: Major
>             Fix For: JCR Resource 3.0.24
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The exception message at https://github.com/apache/sling-org-apache-sling-jcr-resource/blob/942875aef2bc28df5af4f8c414cbe41155d9ad9d/src/main/java/org/apache/sling/jcr/resource/internal/JcrModifiableValueMap.java#L458 is really poor, because it emits the value of the property at the wrong place and does not emit the affected node path at all.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)