scientist-softserv / palni-palci

Other
1 stars 0 forks source link

Feature flipper for Auth Provider throwing error on dashboard #665

Closed labradford closed 1 year ago

labradford commented 1 year ago

Urgent bug in staging and demo

ActionView::Template::Error (undefined method `edit_auth_provider_path' for #<ActionDispatch::Routing::RoutesProxy:0x00007f7fb3c36ee8>
Did you mean?  edit_batch_edits_path):
F, [2023-08-10T15:58:59.415204 #1] FATAL -- : [8e97166c559717af8c5955a49eed5c97]     13:         
[8e97166c559717af8c5955a49eed5c97]     14:         <% if Flipflop.show_auth_provider_in_admin_dashboard? %>
[8e97166c559717af8c5955a49eed5c97]     15:           <% if AuthProvider.count > 0 %>
[8e97166c559717af8c5955a49eed5c97]     16:             <%= menu.nav_link(main_app.edit_auth_provider_path(AuthProvider.where(account_id: @current_account.id).first)) do %>
[8e97166c559717af8c5955a49eed5c97]     17:               <span class="fa fa-key"></span> <span class="sidebar-action-text"><%= t('hyrax.admin.sidebar.auth_provider') %></span>
[8e97166c559717af8c5955a49eed5c97]     18:             <% end %>
[8e97166c559717af8c5955a49eed5c97]     19:           <% else %>
F, [2023-08-10T15:58:59.415228 #1] FATAL -- : [8e97166c559717af8c5955a49eed5c97]   
F, [2023-08-10T15:58:59.415255 #1] FATAL -- : [8e97166c559717af8c5955a49eed5c97] app/views/hyrax/dashboard/sidebar/_configuration.html.erb:16:in `block in 
labradford commented 1 year ago

closing as this is verified in staging and the feature is testable on another ticket