Crash à l’affichage de l’historique des imports
C’est pas exactement la même chose que #401 (closed), mais un peu quand même.
Sentry Issue: COCARTO-60
PG::UndefinedTable: ERROR: missing FROM-clause entry for table "user_roles" (PG::UndefinedTable)
LINE 1: ...t_configurations"."id" WHERE "maps"."id" = $5 AND "user_role...
^
app/views/import/operations/index.html.erb:6:
<%= render partial: "operation", collection: collection, cached: true, locals: {in_index: true} %>
app/controllers/application_controller.rb:48:in `rescue_unauthorized'
yield
app/controllers/application_controller.rb:44:in `set_sentry_user'
yield
app/controllers/application_controller.rb:33:in `restore_anonymous_session'
yield
app/controllers/application_controller.rb:26:in `switch_locale'
I18n.with_locale(locale, &action)
...
(172 additional frame(s) were not displayed)
ActionView::Template::Error: PG::UndefinedTable: ERROR: missing FROM-clause entry for table "user_roles" (ActionView::Template::Error)
LINE 1: ...t_configurations"."id" WHERE "maps"."id" = $5 AND "user_role...
^
ActionView::Template::Error: PG::UndefinedTable: ERROR: missing FROM-clause entry for table "user_roles" (ActionView::Template::Error)
LINE 1: ...t_configurations"."id" WHERE "maps"."id" = $5 AND "user_role...
^
Ça explique aussi partiellement COCARTO-4Q.