Skip to content

Webhook no longer allows to be saved without events #9357

@marko-s17

Description

@marko-s17

Bug report

Strapi won't allow the webhook to be saved if no events are selected. Previous versions allowed you to have eventless webhook that can only be triggered manually, which was awesome for CI workflows. Now you have to have at least one event selected in order to save, therefore use the webhook. It could be that the Yup validation is a bit too strict with the webhook form.

Steps to reproduce the behavior

  1. Go to Webhook
  2. Remove all events
  3. Try to save the webhook
  4. See error

Expected behavior

Strapi should allow users to have webhooks that are not triggered by any event aside from the manual trigger button.

Screenshot

screenshot

System

  • Node.js version: v12.18.2
  • Strapi version: 3.4.6
  • Database: postgres
  • Operating system: Linux/Debian

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundsource: core:strapiSource is core/strapi packagestatus: confirmedConfirmed by a Strapi Team member or multiple community members

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions