Details
-
Fix
-
Status: Approved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The ConfigurationMonitor must know the job chain path of the order. At the moment the API doesn't have a method to get the job chain path directly (see JS-472). Until JS-472 is fixed the ConfigurationMonitor use the following code to determine the job chain path:
String orderXML = order.xml(); SOSXMLXPath xp = new SOSXMLXPath(new StringBuffer(orderXML)); String jobChainPath = xp.selectSingleNodeValue("/order/@job_chain");
The order.xml() contains the log so that it is possible that the XML parser throws an error if a previous job in the job chain has written invalid chars:
error occurred in spooler_process_before: Character reference "&#.." is an invalid XML character.