Carsten Ziegeler created SLING-2775:
---------------------------------------
Summary: Setting of auto properties depends on specific Jackrabbit
behviour
Key: SLING-2775
URL: https://issues.apache.org/jira/browse/SLING-2775
Project: Sling
Issue Type: Bug
Components: Servlets
Affects Versions: Servlets Post 2.2.0
Reporter: Carsten Ziegeler
Fix For: Servlets Post 2.3.0
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira