sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radu Cotescu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SLING-2534) Strings of zero length on update in post servlet delete the property
Date Wed, 09 Jan 2019 09:18:00 GMT

     [ https://issues.apache.org/jira/browse/SLING-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Radu Cotescu updated SLING-2534:
--------------------------------
    Fix Version/s:     (was: Servlets Post 2.3.26)
                   Servlets Post 2.3.28

> Strings of zero length on update in post servlet delete the property
> --------------------------------------------------------------------
>
>                 Key: SLING-2534
>                 URL: https://issues.apache.org/jira/browse/SLING-2534
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>    Affects Versions: Servlets Post 2.1.2
>            Reporter: Endolf
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Servlets Post 2.3.28
>
>         Attachments: SLING-2534-diff.txt, blankstrings.patch
>
>
> According to JCR specs, for string type properties, a blank string should be a valid
value. Currently the post servlet delets any property where 1 or less values are specifed
and the 1 value has a 0 length. I think string properties with a zero length should be blanked
instead of deleted.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message