JSON response content type is set to text/html
JSON parsing error in pzpega_ui_dropdown.js
Steps to Reproduce
1) Create 2 drop downs.
2) Configure one can have the list source as a local list from the property.
3) Configure the other to have a list source from clipboard page (e.g a list view can update this clipboard page). Set this drop down list source to trigger after the screen renders.
4) Run fiddler and see the URL call to pzGetDropdownOption activity and the content type of the response saying text/html even thought it's a JSON response.
Hotfix item HFIX-21694 was provided where pzGetDropdownOption enclose the JSON with a div.
There is also additional code added to pzpega_ui_dropdown.js to pre-process the response so that only JSON content is passed to the parser.
0% found this useful