OpenFn / OpenFn/lightning

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

Open
#2,337 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

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)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at lib/lightning_web/live/workflow_live/edit.ex:1166 and use the linked Sentry issue to identify the event payload reaching handle_event/3 without a matching clause. Trace the corresponding WorkflowLive.Edit interaction and verify that the reported FunctionClauseError no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.