Local interface using SFCC exit abnormally when enumerate filter query contains syntax errors. With the same syntax errors, the CIM-XML interface does not exit abnormally but return a valid error response.
Try the following query with syntax errors:
"SELET * FROM Cim_ComputerSystem"
"SELECT FROM Cim_ComputerSystem"
"SELECT * FRM Cim_ComputerSystem"
Upon review of the code, the SFCC execQuery function calls "abort" when getFromClassList function fails. Abort causes the client application to exit abnormally.
Our proposed fix is to check the status from call to parseQuery and return the appropriate error response (instead of abort). The fix provides similar behavior to the XML interface.
Proposed Fix (updated)
git committed patch
CVS committed patch
committed to CVS HEAD and git master
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 60 days (the time period specified by
the administrator of this Tracker).