You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2019/10/01 16:56:00 UTC

[jira] [Created] (SLING-8755) Exception when empty value with a type hint other than string is posted

Carsten Ziegeler created SLING-8755:
---------------------------------------

             Summary: Exception when empty value with a type hint other than string is posted
                 Key: SLING-8755
                 URL: https://issues.apache.org/jira/browse/SLING-8755
             Project: Sling
          Issue Type: Bug
          Components: Servlets
    Affects Versions: Servlets Post 2.3.32
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Servlets Post 2.3.34


With the changes in SLING-2534, posting an empty value with a type hint other than string (for example Long) results in an exception thrown as the empty value is tried to be coerced into that type.
We should probably restore the behaviour for all types other than string as of before SLING-2534



--
This message was sent by Atlassian Jira
(v8.3.4#803005)