sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (Jira)" <>
Subject [jira] [Resolved] (SLING-8768) Revert SLING-2534 and let empty values remove the property
Date Mon, 07 Oct 2019 06:32:00 GMT


Carsten Ziegeler resolved SLING-8768.
    Resolution: Fixed

Reverted the change with 003f01c
(Also adjusted the tests)

I've also updated the documentation at

> Revert SLING-2534 and let empty values remove the property
> ----------------------------------------------------------
>                 Key: SLING-8768
>                 URL:
>             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

View raw message