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

Issues with custom fields in PostResponse as a result of fix for SLING-6681(Replace commons.json usage in org.apache.sling.servlets.post)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlets Post 2.3.22
    • Servlets Post 2.3.24
    • Servlets
    • None

    Description

      If you set a value of type as map as a custom property in response type, instead of parsing properly, whole map is converted into one string and therefore, json response does not reach client side in an orderly fashion.
      This can be attributed to [0] which was merged as part of fix for SLING-6681(Replace commons.json usage in org.apache.sling.servlets.post)

      [0] -https://github.com/apache/sling/commit/a598bd4f6e9fc4f967e118de705643a04a47bc44#diff-2ff02a567147f2cbef2e344d5338dd14R106

      Attachments

        Activity

          People

            karlpauls Karl Pauls
            bhardwajrahul20 Rahul Bhardwaj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: