Skip to content

Webhooks for some delete operations are not sent. #4373

Description

@toras9000

Describe the Bug

When performing entity deletion in the browser, webhooks are not sent for some operations.
Specifically, revision_delete, user_delete, api_token_delete, and webhook_delete.

When these operations are performed with webhooks set for the operations, HTTP status 404 seems to be returned.
If no webhook is set, the response is normal.

Steps to Reproduce

  1. Add a Webhook.
    • It does not seem to matter whether the endpoint address is valid or invalid.
    • Turn on 'All system events'.
  2. Perform operations corresponding to the problematic webhook events described above.
    • Webhook does not reach the endpoint.

Expected Behaviour

Webhook is sent.

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v23.06.1

PHP Version

No response

Hosting Environment

Docker image, lscr.io/linuxserver/bookstack:version-v23.06.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions