bug: active scans settings Ui wont load #809

Closed
opened 2026-03-28 04:28:46 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #2419
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2419
Original created: 2026-01-21T04:20:25Z


Describe the bug

04:19:28.795 [error] GenServer #PID<0.18979.0> terminating                                                                                                                                 ** (FunctionClauseError) no function clause matching in Float.round/2                                                                                                                          (elixir 1.19.4) lib/float.ex:363: Float.round(0, 2)
    (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:1907: anonymous fn/2 in ServiceRadarWebNGWeb.Settings.NetworksLive.Index."scanner_metrics_grid (overridable 1)"/1                                                                                                                                                                        (serviceradar_web_ng 0.1.0) /tmp/tmp.MWn8WAZuvj/lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:1861: ServiceRadarWebNGWeb.Settings.NetworksLive.Index.recent_executio
n_row/1                                                                                                                                                                                        (elixir 1.19.4) lib/enum.ex:2520: Enum."-reduce/3-lists^foldl/2-0-"/3                                                                                                                      (phoenix_live_view 1.1.19) lib/phoenix_live_view/diff.ex:419: Phoenix.LiveView.Diff.traverse/6
    (phoenix_live_view 1.1.19) lib/phoenix_live_view/diff.ex:609: anonymous fn/3 in Phoenix.LiveView.Diff.traverse_dynamic/6                                                               Process Label: {Phoenix.LiveView, ServiceRadarWebNGWeb.Settings.NetworksLive.Index, "lv:phx-GIykFRorJoDopu2B"}                                                                             Last message: %Phoenix.Socket.Message{topic: "lv:phx-GIykFRorJoDopu2B", event: "event", payload: %{"event" => "switch_tab", "type" => "click", "value" => %{"tab" => "active_scans", "value
" => ""}}, ref: "16", join_ref: "15"}                                                                                                                                                      04:19:31.146 [error] GenServer #PID<0.19045.0> terminating                                                                                                                                 ** (FunctionClauseError) no function clause matching in Float.round/2
    (elixir 1.19.4) lib/float.ex:363: Float.round(0, 2)                                                                                                                                        (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:1907: anonymous fn/2 in ServiceRadarWebNGWeb.Settings.NetworksLive.Index."scanner_metrics_grid (overridable 1)"/1
    (serviceradar_web_ng 0.1.0) /tmp/tmp.MWn8WAZuvj/lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:1861: ServiceRadarWebNGWeb.Settings.NetworksLive.Index.recent_execution_row/1                                                                                                                                                                                        (elixir 1.19.4) lib/enum.ex:2520: Enum."-reduce/3-lists^foldl/2-0-"/3
    (phoenix_live_view 1.1.19) lib/phoenix_live_view/diff.ex:419: Phoenix.LiveView.Diff.traverse/6                                                                                             (phoenix_live_view 1.1.19) lib/phoenix_live_view/diff.ex:609: anonymous fn/3 in Phoenix.LiveView.Diff.traverse_dynamic/6                                                               Process Label: {Phoenix.LiveView, ServiceRadarWebNGWeb.Settings.NetworksLive.Index, "lv:phx-GIykFRorJoDopu2B"}
Last message: %Phoenix.Socket.Message{topic: "lv:phx-GIykFRorJoDopu2B", event: "event", payload: %{"event" => "switch_tab", "type" => "click", "value" => %{"tab" => "active_scans", "value" => ""}}, ref: "18", join_ref: "17"}                                                                                                                                                      04:19:33.745 [error] GenServer #PID<0.19091.0> terminating
** (FunctionClauseError) no function clause matching in Float.round/2                                                                                                                          (elixir 1.19.4) lib/float.ex:363: Float.round(0, 2)                                                                                                                                        (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:1907: anonymous fn/2 in ServiceRadarWebNGWeb.Settings.NetworksLive.Index."scanner_metrics_
grid (overridable 1)"/1                                                                                                                                                                        (serviceradar_web_ng 0.1.0) /tmp/tmp.MWn8WAZuvj/lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:1861: ServiceRadarWebNGWeb.Settings.NetworksLive.Index.recent_execution_row/1

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Imported from GitHub. Original GitHub issue: #2419 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2419 Original created: 2026-01-21T04:20:25Z --- **Describe the bug** ``` 04:19:28.795 [error] GenServer #PID<0.18979.0> terminating ** (FunctionClauseError) no function clause matching in Float.round/2 (elixir 1.19.4) lib/float.ex:363: Float.round(0, 2) (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:1907: anonymous fn/2 in ServiceRadarWebNGWeb.Settings.NetworksLive.Index."scanner_metrics_grid (overridable 1)"/1 (serviceradar_web_ng 0.1.0) /tmp/tmp.MWn8WAZuvj/lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:1861: ServiceRadarWebNGWeb.Settings.NetworksLive.Index.recent_executio n_row/1 (elixir 1.19.4) lib/enum.ex:2520: Enum."-reduce/3-lists^foldl/2-0-"/3 (phoenix_live_view 1.1.19) lib/phoenix_live_view/diff.ex:419: Phoenix.LiveView.Diff.traverse/6 (phoenix_live_view 1.1.19) lib/phoenix_live_view/diff.ex:609: anonymous fn/3 in Phoenix.LiveView.Diff.traverse_dynamic/6 Process Label: {Phoenix.LiveView, ServiceRadarWebNGWeb.Settings.NetworksLive.Index, "lv:phx-GIykFRorJoDopu2B"} Last message: %Phoenix.Socket.Message{topic: "lv:phx-GIykFRorJoDopu2B", event: "event", payload: %{"event" => "switch_tab", "type" => "click", "value" => %{"tab" => "active_scans", "value " => ""}}, ref: "16", join_ref: "15"} 04:19:31.146 [error] GenServer #PID<0.19045.0> terminating ** (FunctionClauseError) no function clause matching in Float.round/2 (elixir 1.19.4) lib/float.ex:363: Float.round(0, 2) (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:1907: anonymous fn/2 in ServiceRadarWebNGWeb.Settings.NetworksLive.Index."scanner_metrics_grid (overridable 1)"/1 (serviceradar_web_ng 0.1.0) /tmp/tmp.MWn8WAZuvj/lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:1861: ServiceRadarWebNGWeb.Settings.NetworksLive.Index.recent_execution_row/1 (elixir 1.19.4) lib/enum.ex:2520: Enum."-reduce/3-lists^foldl/2-0-"/3 (phoenix_live_view 1.1.19) lib/phoenix_live_view/diff.ex:419: Phoenix.LiveView.Diff.traverse/6 (phoenix_live_view 1.1.19) lib/phoenix_live_view/diff.ex:609: anonymous fn/3 in Phoenix.LiveView.Diff.traverse_dynamic/6 Process Label: {Phoenix.LiveView, ServiceRadarWebNGWeb.Settings.NetworksLive.Index, "lv:phx-GIykFRorJoDopu2B"} Last message: %Phoenix.Socket.Message{topic: "lv:phx-GIykFRorJoDopu2B", event: "event", payload: %{"event" => "switch_tab", "type" => "click", "value" => %{"tab" => "active_scans", "value" => ""}}, ref: "18", join_ref: "17"} 04:19:33.745 [error] GenServer #PID<0.19091.0> terminating ** (FunctionClauseError) no function clause matching in Float.round/2 (elixir 1.19.4) lib/float.ex:363: Float.round(0, 2) (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:1907: anonymous fn/2 in ServiceRadarWebNGWeb.Settings.NetworksLive.Index."scanner_metrics_ grid (overridable 1)"/1 (serviceradar_web_ng 0.1.0) /tmp/tmp.MWn8WAZuvj/lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:1861: ServiceRadarWebNGWeb.Settings.NetworksLive.Index.recent_execution_row/1 ``` **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
mfreeman451 added this to the 1.1.0 milestone 2026-03-28 04:28:46 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#809
No description provided.