Uploaded image for project: 'JOC - JS7 Operations Center'
  1. JOC - JS7 Operations Center
  2. JOC-2141

Releasing/deploying objects should consider validity of referenced draft objects

    XMLWordPrintable

Details

    • Fix
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 2.8.1
    • 2.7.7, 2.8.2
    • None
    • None

    Description

      Current Behavior:

      When an invalid draft calendar is referenced by an already released schedule and the schedule is released again, then the schedule is incorrectly released along with the invalid calendar.

      Steps to Reproduce:

      • Deploy and release a schedule with a reference to a calendar.
      • Create a new invalid draft of the calendar.
      • Re-release the schedule.

      The schedule incorrectly includes the invalid draft calendar instead of validating its status or raising an error. This results in a MissingFormatArgumentException error in the logs.

      Desired Behavior:

      When an invalid draft object such as a calendar is referenced for example by a schedule that has already been released and that is re-released, then

      • invalid draft objects should be excluded from the release/deploy process. Only valid objects should be included with a release /deploy operation.
      • the release/deploy operation should raise an error and should deny releasing/deploying if an invalid, referenced draft object is detected.

      Attachments

        Activity

          People

            ZtRahul193 Rahul Patidar
            rajrani-upadhyay Rajrani Upadhyay
            Rajrani Upadhyay Rajrani Upadhyay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: