Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10063

Improve error message when adding invalid properties

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: JCR Resource 3.0.22
    • Fix Version/s: JCR Resource 3.0.24
    • Component/s: JCR
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              kwin Konrad Windszus
              Reporter:
              kwin Konrad Windszus
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m