[Alerting] attempted editing of preconfigured action causes walkback in browser #78892
Labels
Feature:Alerting
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
From a recent master:
Create a pre-configured action that has
config
properties, like email. Here's an example you can put inconfig/kibana.dev.yml
for a repro in a dev environment:Start up Kibana, navigate to the connectors list, click on that pre-configured action. That normally takes you to the action "editor", but instead will render an empty block where the editor would been, with the following walkbacks in the browser:
walkbacks in the browser console:
I think I tracked this back to the fact that preconfigured actions have their config stripped out when returned from the
getAll()
actionClient method. Here's the relevant issue #63392 and pr #64266.Kinda wondering if we want to reconsider the decision to not return the config of preconfigured actions, to prevent these kind of errors in the future. Or perhaps try to "fix" this via typescript typing somehow, or more elaborate testing.
The text was updated successfully, but these errors were encountered: