eyra / mono

Next platform repo
https://eyra.co
GNU Affero General Public License v3.0
7 stars 5 forks source link

Clicking on a leaderboard results in Internal Server Error 500 #843

Closed TjerkNan closed 5 months ago

TjerkNan commented 5 months ago

Describe the bug Clicking on a link to a leaderboard on a leaderboard 'card' results in a delay followed by an internal server error.

To Reproduce Steps to reproduce the behavior:

  1. for new and existing projects
  2. create a leaderboard
  3. go to 'submit methord' and click on 'go to leaderboard'

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

Screenshots

Jun 06 21:03:31 ec2-web-dev-01 core[18891]: {"time":"2024-06-06T21:03:31.097Z","severity":"info","message":"User 1121 can_access? Elixir.Systems.Graphite.LeaderboardContentPage: true","metadata":{"domain":["elixir"],"erl_level":"notice"}}
Jun 06 21:03:31 ec2-web-dev-01 core[18891]: {"time":"2024-06-06T21:03:31.102Z","severity":"error","message":"GenServer #PID<0.18317.1> terminating\n** (MatchError) no match of right hand side value: %{__changed__: %{current_user: true, fabric: true, locale: true, model: true, remote_ip: true, session: true, timezone: true}, current_user: #Systems.Account.User<__meta__: #Ecto.Schema.Metadata<:loaded, \"users\">, id: 1121, email: \"REDACTED\", hashed_password: ABSOLUTELYREDACTED", confirmed_at: ~N[2024-06-06 17:59:31], verified_at: ~N[2024-06-06 18:06:29], displayname: nil, visited_pages: nil, creator: true, profile: #Ecto.Association.NotLoaded<association :profile is not loaded>, features: #Ecto.Association.NotLoaded<association :features is not loaded>, inserted_at: ~N[2024-06-0 TRUNCATED

Desktop (please complete the following information):

TjerkNan commented 5 months ago

Resolved