Skip to content

Webhook KATA validation issue #1832

@Hildy

Description

@Hildy

On a customer's webhook, it allowed them to save the KATA as:

automation/updateJiraIssueRecord
  uri: cerb:automation:example.webhook.respond
  disabled@bool: no

(note the missing : on the first line).

This led to a rather cryptic 500 internal error because ControllerWebhooks::respond() doesn't confirm that there are any valid handlers before passing it off to DevblockUiEventHandler::handleOnce().

Validation should catch that initial missing colon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions