Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8755

Exception when empty value with a type hint other than string is posted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlets Post 2.3.32
    • Servlets Post 2.3.34
    • Servlets
    • None

    Description

      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

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: