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

missing content.save... events when batch editing items #124

Open
raffaelj opened this issue Jul 5, 2023 · 0 comments
Open

missing content.save... events when batch editing items #124

raffaelj opened this issue Jul 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@raffaelj
Copy link
Collaborator

raffaelj commented Jul 5, 2023

When updating entries via web ui and using the helper methods/routes to batch edit or to update state, the entries are updated without triggering the content.save.before etc. events.

This makes content validation before saving or triggering webhooks when an item is changed to "published" impossible.

Affected internal api routes:

  • /collection/updateState
  • /collection/batchUpdate
  • /tree/updateOrder

Steps to reproduce:

  • create a collection named "pages"
  • create at least one entry
  • go to /content/collection/items/pages
  • click checkbox at the left of the item --> buttons "Update state" and "Batch edit" appear
  • click button and change state
@aheinze aheinze added the enhancement New feature or request label Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants