Skip to content

fix(events): correctly archive events with unscheduled editions#159

Merged
rs-amp merged 4 commits into
amplience:masterfrom
rs-amp:fix/event-archive
Oct 28, 2022
Merged

fix(events): correctly archive events with unscheduled editions#159
rs-amp merged 4 commits into
amplience:masterfrom
rs-amp:fix/event-archive

Conversation

@rs-amp
Copy link
Copy Markdown
Contributor

@rs-amp rs-amp commented Oct 24, 2022

To archive events, all contained editions must be archived. However, if an edition has never been published (its scheduled time never arrived) then it cannot be archived. The correct process here is unscheduling the edition, then deleting it, though only the first part was done which would result in an error. This PR fixes the issue.

Copy link
Copy Markdown
Collaborator

@neilmistryamplience neilmistryamplience left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and approved

@rs-amp rs-amp merged commit 8cfefda into amplience:master Oct 28, 2022
Pureball pushed a commit to cosnova/dc-cli that referenced this pull request Aug 22, 2023
…ence#159)

* fix(event): correctly archive events with unscheduled editions

* fix(event): wait for unschedule to complete before deleting editions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants