etalab / transport-site

Rendre disponible, valoriser et améliorer les données transports
https://transport.data.gouv.fr
195 stars 30 forks source link

Erreur 500 : key validator not found resource/_validation_summary.html.heex #4196

Closed AntoineAugusti closed 2 months ago

AntoineAugusti commented 2 months ago

Plusieurs pages de resources#details faisant apparaitre une validation GTFS retournent une erreur 500.

Probablement introduit lors du refactor intervenu dans #4158

key :validator not found in: %{
  conn: …
}
lib/transport_web/templates/resource/_validation_summary.html.heex in anonymous fn/4 in TransportWeb.ResourceView."_validation_summary.html"/1 at line 6
lib/phoenix_live_view/engine.ex in Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata/1 at line 149
lib/phoenix_live_view/engine.ex in Phoenix.HTML.Safe.Phoenix.LiveView.Comprehension.to_iodata/2 at line 105
lib/enum.ex in Enum."-map/2-lists^map/1-1-"/2 at line 1700
lib/phoenix_live_view/engine.ex in Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata/3 at line 165
lib/phoenix/controller.ex in anonymous fn/5 in Phoenix.Controller.template_render_to_iodata/4 at line 1008
/phoenixapp/deps/telemetry/src/telemetry.erl in :telemetry.span/3 at line 321
lib/phoenix/controller.ex in Phoenix.Controller.render_and_send/4 at line 974

Sentry