Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger publish targets after page published #2088

Merged

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented May 6, 2021

What is this pull request for?

Publishing pages runs as active jobs. The published page trigger
we send to registered publish_targets need to be send after the
page has been published in order to prevent race conditions.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

Rails 6.0.3.7 includes a security fix that forces us to use
Symbols in polymorphic routes.
@tvdeyen tvdeyen added this to the 6.0 milestone May 6, 2021
@tvdeyen tvdeyen requested a review from mamhoff May 6, 2021 09:31
Publishing pages runs as active jobs. The published page trigger
we send to registered publish_targets need to be send after the
page has been published in order to prevent race conditions.
@tvdeyen tvdeyen force-pushed the trigger-publish-targets-after-page-published branch from b1fde00 to 5248706 Compare May 6, 2021 09:39
@tvdeyen tvdeyen merged commit 8aecaba into AlchemyCMS:main May 6, 2021
@tvdeyen tvdeyen deleted the trigger-publish-targets-after-page-published branch May 6, 2021 10:27
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.

2 participants