Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1593

Use shindig.json-rpc.result-field property from shindig.properties file correctly to add wrapper to the returned data

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.0-beta1
    • Java

    Description

      Currently if shindig.json-rpc.result-field sets to "both", the reponse contains "result", "data" and "both".

      To respect the optional parameter shindig.json-rpc.result-field, we check if its value is "both" then we inject the response to both "data" and "result". Otherwise we use the name specified in the shindig.json-rpc.result-field property.

      Attachments

        1. SHINDIG-1593.patch
          0.9 kB
          Henry Saputra

        Activity

          People

            hsaputra Henry Saputra
            hsaputra Henry Saputra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: