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

Improve error message when adding invalid properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 3.0.22
    • JCR Resource 3.1.0
    • JCR
    • 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

            kwin Konrad Windszus
            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