-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If something goes wrong within the scheduled publishing worker, be it a state transition or a downstream error coming from publishing-api, it will return without changing the edition state (remains scheduled) and will retry. Nonetheless, if the worker cannot fix itself, we want to allow the users to cancel the current schedule and re-schedule. Due to a validation restriction on the edition model, we were blocking this. The publication time would in this case be in the past which was not allowed on the draft state. We are now allowing it if the previous state has been scheduled.
- Loading branch information
1 parent
1a4c0e6
commit 8ecae31
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters