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

Setting of auto properties depends on specific Jackrabbit behviour

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlets Post 2.2.0
    • Servlets Post 2.3.0
    • Servlets
    • None

    Description

      The post servlet ignores a ConstraintViolationException when trying to set an auto property (SlingPropertyValueHandler#setProperty method. This has been introduced by SLING-1619

      According to SLING-2763 this is specific Jackrabbit behaviour and might fail with other implementations (e.g. Oak) as the check might not occur when setting the property but when saving.

      Looking at the comments of SLING-1619, I'm not sure if adding this check for the ConstraintViolationException was the right thing to do anyway.

      Attachments

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              cziegeler Carsten Ziegeler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: