Details
-
Fix
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
2.8.1
-
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.