Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When loading a job with "process file" like:
<?xml version="1.0" encoding="ISO-8859-1"?> <job name="processFileExample"> <process file="myApp" param="myParam" log_file="myLog"> <environment /> </process> <run_time /> </job>
then it has empty values in the "process file" tab.
If you change and save the job (e.g. tasks=3) then you get the alerts "invalid content" and "directory changed" (see attachments).
1.Case: You click Yes at both alerts. Then the job configuration file is removed
2.Case: You click Yes at "invalid content" and No at "directory changed". Then the configuration file is invalid. A script element is added.
<?xml version="1.0" encoding="ISO-8859-1"?> <job tasks="3"> <script language="shell"/> <process file="myApp" param="myParam" log_file="myLog"> <environment /> </process> <run_time /> </job>
3.Case: You click No at "invalid content" then a third "could_not_rename" alert (see attachment) pops up. Howsoever you click at the alerts either the job configuration file is removed or it is invalid (aditional script element).
If you enter the old values in the "process file" tab
then you get the following invalid job configuration:
<?xml version="1.0" encoding="ISO-8859-1"?> <job> <process file="myApp" param="myParam" log_file="myLog"> <environment /> </process> <process > <environment /> </process> <run_time /> </job>