Skip to content

investigate profile crash#20

Closed
bubunyo wants to merge 1 commit intomainfrom
bug/profile-section-bug
Closed

investigate profile crash#20
bubunyo wants to merge 1 commit intomainfrom
bug/profile-section-bug

Conversation

@bubunyo
Copy link
Collaborator

@bubunyo bubunyo commented Oct 16, 2025

No description provided.

@thedumbtechguy
Copy link
Collaborator

Error identified: https://hack25.devcongress.io/manage/errors/13

ActionController::UrlGenerationError from application.action_dispatch

No route matches {:action=>"show", :controller=>"hacker_dashboard_portal/profiles", :id=>nil}

----


[PROJECT_ROOT]/packages/hacker_dashboard_portal/app/views/plutonium/_resource_header.html.erb:16 in block (4 levels) in _packages_hacker_dashboard_portal_app_views_plutonium__resource_header_html_erb___1711999873939345200_93200
            section.with_link(
              label: 'My profile',
              href: resource_url_for(current_user.profile),
            )
          end

While we were checking if the user has a profile before we we render the nav bar, we weren't checking if it is persisted.

This has now been fixed in: 7a594b2#diff-c4e380c4723cde90d3e7744a47b6da88e3feb6226fb8422ad20dcc231a53c670R12-R19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants