Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-573

Inventory plugin creates corrupted schedules if they contain calendars

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.12.11, 1.13.1
    • None

    Description

      Current Situation

      • If a schedule gets a calendar, e.g. with the "Set Run time" function in JOC then the inventory plugin writes the calendar information into the configuration in a wrong way.
        <schedule>
            ...
            <run_time>
                <calendars><![CDATA[{"calendars":[{"basedOn":"/test/eachFriday","type":"WORKING_DAYS","periods":[{"singleStart":"02:00:00","whenHoliday":"suppress"}],"includes":{}}]}]]></calendars>
            </run_time> 
        </schedule>
        
        • The run_time element around the calendars element is wrong
        • The schedule is invalid against the JobScheduler schema.
        • The schedule is missing in JOC.

      Desired Behavior

      Inventory plugin should write the calendar information in the schedule conform to the JobScheduler schema.

      <schedule>
          ...
          <calendars><![CDATA[{"calendars":[{"basedOn":"/test/eachFriday","type":"WORKING_DAYS","periods":[{"singleStart":"02:00:00","whenHoliday":"suppress"}],"includes":{}}]}]]></calendars>
      </schedule>
      

      Workaround

      A patch can be downloaded from the link list below.

      Attachments

        Issue Links

          Activity

            People

              sp Santiago Aucejo Petzoldt
              oh Oliver Haufe
              Kanika Agrawal Kanika Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: