Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-998

The command <show_job_chain ...> of a job chain which has job chains as nodes returns job_chain_node elements instead of job_chain_node.job_chain elements

    XMLWordPrintable

Details

    • Fix
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 1.5.3192
    • None
    • Job Scheduler Binaries
    • None

    Description

      you have a job chain with other job chain as nodes, e.g. ./config/live/js-631/master2.job_chain.xml:

      <job_chain orders_recoverable="yes" visible="yes">
      	<job_chain_node.job_chain error_state="master_error" job_chain="sleep2" next_state="check" state="master_begin"/>
      	<job_chain_node.job_chain error_state="master_error" job_chain="/test/checkRun" next_state="801" state="check"/>
      	<job_chain_node.job_chain error_state="master_error" job_chain="/js-801/job_chain_with_error" next_state="master_success" state="801"/>
      	<job_chain_node.end state="master_success"/>
      	<job_chain_node.end state="master_error"/>
      </job_chain>
      

      Then the command

      <show_job_chain job_chain="/js-631/master2" max_order_history="50" max_orders="10" what="job_chain_orders job_chain_jobs" />
      

      returns in 1.5.3192 <job_chain_node../> elements instead of <job_chain_node.job_chain.../> elements

      <spooler>
      	<answer time="2013-08-19T15:44:07.866Z">
      			<job_chain name="master2" order_id_space="pears" orders="0" orders_recoverable="yes" path="/js-631/master2" running_orders="0" state="running">
      					<file_based file="C:/ProgramData/sos-berlin.com/jobscheduler/scheduler.oh/config/live/js-631/master2.job_chain.xml" last_write_time="2012-09-04T08:46:23.000Z" state="active">
      							<requisites>
      									<requisite path="/js-631/sleep2" type="Job_chain"/>
      									<requisite path="/test/checkrun" type="Job_chain"/>
      									<requisite path="/js-801/job_chain_with_error" type="Job_chain"/>
      							</requisites>
      					</file_based>
      				<job_chain_node error_state="master_error" job_chain="/js-631/sleep2" next_state="check" state="master_begin"/>
      				<job_chain_node error_state="master_error" job_chain="/test/checkRun" next_state="801" state="check"/>
      				<job_chain_node error_state="master_error" job_chain="/js-801/job_chain_with_error" next_state="master_success" state="801"/>
      				<job_chain_node state="master_success"/>
      				<job_chain_node state="master_error"/>
      				<order_history/>
      			</job_chain>
      	</answer>
      </spooler>
      

      Attachments

        Activity

          People

            oh Oliver Haufe
            oh Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: