Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error redirecting to /pages after publishing a page #204

Closed
leandrocp opened this issue Aug 16, 2024 · 0 comments
Closed

Error redirecting to /pages after publishing a page #204

leandrocp opened this issue Aug 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working roadmap Priority issues that will be released in the short term
Milestone

Comments

@leandrocp
Copy link
Contributor

Sometimes the following error happens on the redirect to /pages after publishing a page:

10:10:03.132 [error] GenServer #PID<0.1564.0> terminating
** (MatchError) no match of right hand side value: nil
    (beacon_live_admin 0.1.0-rc.0) lib/beacon/live_admin/page_builder/table.ex:129: Beacon.LiveAdmin.PageBuilder.Table.handle_params/3
    (beacon_live_admin 0.1.0-rc.0) lib/beacon/live_admin/live/page_editor_live/index.ex:19: Beacon.LiveAdmin.PageEditorLive.Index.handle_params/3
    (phoenix_live_view 0.20.17) lib/phoenix_live_view/utils.ex:451: anonymous fn/5 in Phoenix.LiveView.Utils.call_handle_params!/5
    (telemetry 1.2.1) /Users/leandro/code/github/BeaconCMS/beacon_live_admin/deps/telemetry/src/telemetry.erl:321: :telemetry.span/3
    (phoenix_live_view 0.20.17) lib/phoenix_live_view/channel.ex:568: Phoenix.LiveView.Channel.maybe_call_mount_handle_params/4
    (phoenix_live_view 0.20.17) lib/phoenix_live_view/channel.ex:1179: Phoenix.LiveView.Channel.verified_mount/8
    (phoenix_live_view 0.20.17) lib/phoenix_live_view/channel.ex:84: Phoenix.LiveView.Channel.handle_info/2
    (stdlib 6.0) gen_server.erl:2173: :gen_server.try_handle_info/3
@leandrocp leandrocp added bug Something isn't working roadmap Priority issues that will be released in the short term labels Aug 16, 2024
@leandrocp leandrocp added this to the v0.1.0 milestone Aug 16, 2024
leandrocp added a commit that referenced this issue Sep 10, 2024
Skip pagination when beacon_page.table is not available
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working roadmap Priority issues that will be released in the short term
Projects
None yet
Development

No branches or pull requests

1 participant