lightning icon indicating copy to clipboard operation
lightning copied to clipboard

FunctionClauseError: no function clause matching in LightningWeb.WorkflowLive.Edit.handle_event/3

Open sentry[bot] opened this issue 1 year ago • 1 comments

Sentry Issue: LIGHTNING-6W

FunctionClauseError: no function clause matching in LightningWeb.WorkflowLive.Edit.handle_event/3
  File "lib/lightning_web/live/workflow_live/edit.ex", line 1166, in LightningWeb.WorkflowLive.Edit.handle_event/3
  File "lib/phoenix_live_view/channel.ex", line 508, in anonymous fn/3 in Phoenix.LiveView.Channel.view_handle_event/3
  File "/app/deps/telemetry/src/telemetry.erl", line 321, in :telemetry.span/3
  File "lib/phoenix_live_view/channel.ex", line 261, in Phoenix.LiveView.Channel.handle_info/2
  File "gen_server.erl", line 1095, in :gen_server.try_handle_info/3
...
(2 additional frame(s) were not displayed)

sentry[bot] avatar Jul 29 '24 07:07 sentry[bot]

This appears to be related to form recovery on the Workflow edit page.

I've seen validate calls for:

  • %{"_target" => ["workflow", "name"]}
  • %{"_target" => ["snapshot", "name"]}

This doesn't happen in v2.7.12, and that release dropped the separate workflow name field. Going to hold this open for a few days and see if we spot it again - it could be fixed as a side effect.

stuartc avatar Aug 01 '24 07:08 stuartc