Any ideas what could be causing this error: JSONObject["short_description"] not found.: org.json.JSONException: JSONObject["short_description"] not found

bpolo
Tera Guru

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?

5 REPLIES 5

Ankush13
Kilo Guru

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.


Ashutosh Munot1
Kilo Patron
Kilo Patron

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


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.  


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!