You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was triggered when Lightning tried to fetch a workflow that was not saved. Here is how to replicate the issue:
Create a new workflow
Add a new step (don't save yet)
Try to create a new credential -> click on the new credential link, select a credential, and close the modal.
This will refresh the page and when Lightning is trying to fetch the workflow this error is triggered.
We should stop the page from refreshing when a user closes the credential configuration modal. We have done this previously for the Select a Credential modal and we also need to make sure that when a user closes the modal, it is cleared from cache.
Currently closing the credential configuration modal with the (x) icon will dismiss the modal but when I click on add credential, it automatically loads the modal.
We don't save workflows automatically unless a user clicks on save or creates a work order.
KeyError: key :id not found in: nil
If you are using the dot syntax, such as map.field, make sure the left-hand side of the dot is a map
File "lib/lightning_web/live/workflow_live/edit.ex", line 1132, in LightningWeb.WorkflowLive.Edit.track_user_presence/1
File "lib/lightning_web/live/workflow_live/edit.ex", line 1063, in LightningWeb.WorkflowLive.Edit.handle_params/3
File "lib/phoenix_live_view/utils.ex", line 462, in anonymous fn/5 in Phoenix.LiveView.Utils.call_handle_params!/5
File "/app/deps/telemetry/src/telemetry.erl", line 324, in :telemetry.span/3
File "lib/phoenix_live_view/channel.ex", line 567, in Phoenix.LiveView.Channel.maybe_call_mount_handle_params/4
...
(3 additional frame(s) were not displayed)
The text was updated successfully, but these errors were encountered:
This issue was triggered when Lightning tried to fetch a workflow that was not saved. Here is how to replicate the issue:
We should stop the page from refreshing when a user closes the credential configuration modal. We have done this previously for the Select a Credential modal and we also need to make sure that when a user closes the modal, it is cleared from cache.
Currently closing the credential configuration modal with the (x) icon will dismiss the modal but when I click on add credential, it automatically loads the modal.
We don't save workflows automatically unless a user clicks on save or creates a work order.
Sentry Issue: LIGHTNING-FD
The text was updated successfully, but these errors were encountered: