Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-17009

json.wrf parameter ignored in JacksonJsonWriter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 9.3
    • 9.4
    • JSON Request API
    • None

    Description

      When requesting json output in 9.3 using json.wrf to trigger a JSONP request, the return is not wrapped in a function and is instead returned as a plain JSON object

       My test cases are:

      wt=json&json.wrf=ng_jsonp_callback_0 on Solr 9.3.0

       { "responseHeader":{ "status":0, "QTime":9, "params":{

       wt=json&json.wrf=ng_jsonp_callback_0 on Solr 7.3.1

       ng_jsonp_callback_0({ "responseHeader":{ "status":400, "QTime":206, "params":{

      Attachments

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              iscchris Chris Stewart
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m