Carsten Ziegeler created SLING-8768:
---------------------------------------
Summary: Revert SLING-2534 and let empty values remove the property
Key: SLING-8768
URL: https://issues.apache.org/jira/browse/SLING-8768
Project: Sling
Issue Type: Improvement
Components: Servlets
Affects Versions: Servlets Post 2.3.34, Servlets Post 2.3.32, Servlets Post
2.3.30, Servlets Post 2.3.28
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: Servlets Post 2.3.36
In SLING-2534 we changed the post implementation to treat a posted empty value
as an empty value. Before, empty values caused the property to be removed.
While the change seemed to be the logical step (we have @IgnoreBlanks and the
documentation explains it in this way as well), it turns out that a lot of
existing code expects the (wrong) behaviour that a property is removed if an
empty value is submitted.
This makes it an incompatible change breaking existing customers.
Therefore, we should revert SLING-2534 and update the documentation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)