Any ideas what could be causing this error: JSONObject["short_description"] not found.: org.json.JSONException: JSONObject["short_description"] not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2018 12:41 PM
We upgraded to Jakarta Patch 7, and now some of our forms(order guides) on ServicePortal are not loading. We noticed this error appearing in the error logs:
JSONObject["short_description"] not found.: org.json.JSONException: JSONObject["short_description"] not found
Any ideas please?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2018 01:42 AM
It seems like short_description is being treated as an object rather than a key in an object. You might be missing array index of some sort. Without the code, it's difficult to say.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2018 01:53 AM
HI Bernardine,
This is happening on specific catalog item?
If yes, Please check client script return on that service catalog item. There is one code pointing to Short description which is using either eval or json which is being getting called using getXMLWait.
If yes then you will have to replace getXMLWait with getXML with callback function. Also check order guide code.
Thank you,
Ashutosh Munot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2018 02:00 PM
We are getting the same error after upgrading to patch 7. The ajax calls are not using the getXMLWait....and there is nothing in the order guide that is trying to write to the short description field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2018 06:34 PM
Hi Thomas
The issue was that before Jakarta Patch 7, one could have Catalog Items with blank short descriptions. The short description is required now to be populated on the catalog item pages. Hope this helps!