-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundIf it breaks the basic use of the product but can be worked aroundsource: core:strapiSource is core/strapi packageSource is core/strapi packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
Description
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
- Go to Webhook
- Remove all events
- Try to save the webhook
- 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
System
- Node.js version: v12.18.2
- Strapi version: 3.4.6
- Database: postgres
- Operating system: Linux/Debian
Metadata
Metadata
Assignees
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundIf it breaks the basic use of the product but can be worked aroundsource: core:strapiSource is core/strapi packageSource is core/strapi packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
