[ 
https://issues.apache.org/jira/browse/SLING-8768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16960774#comment-16960774
 ] 

Carsten Ziegeler commented on SLING-8768:
-----------------------------------------

Thanks [~enorman] . I've reverted the changes in the test

> 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.28, Servlets Post 2.3.30, Servlets 
> Post 2.3.32, Servlets Post 2.3.34
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             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)

Reply via email to