osunyorg / admin

L'espace d'administration d'Osuny
https://www.osuny.org
MIT License
32 stars 2 forks source link

ActionView::Template::Error in Communication::Website::CleanAndRebuildJob@whale #2254

Closed SebouChu closed 1 month ago

SebouChu commented 1 month ago

Error in Osuny

ActionView::Template::Error in Communication::Website::CleanAndRebuildJob@whale undefined method `localization_for' for nil

View on Bugsnag

Stacktrace

app/models/research/journal/paper/localization.rb:76 - volume_l10n
app/views/admin/research/journals/papers/static.html.erb:16 - _app_views_admin_research_journals_papers_static_html_erb__1522090874995928783_1249680
app/services/static.rb:23 - render
app/models/communication/website/git_file.rb:66 - to_s
app/services/git/analyzer.rb:49 - computed_sha
app/services/git/analyzer.rb:24 - should_update?
app/services/git/repository.rb:89 - block in sync_git_files
app/services/git/repository.rb:84 - each
app/services/git/repository.rb:84 - sync_git_files
app/services/git/repository.rb:26 - sync!
app/models/communication/website.rb:171 - sync_with_git_safely
app/models/communication/website/with_connected_objects.rb:26 - clean_and_rebuild
app/jobs/communication/website/clean_and_rebuild_job.rb:5 - execute
app/jobs/communication/website/base_job.rb:29 - perform

View full stacktrace

Created automatically via Bugsnag

SebouChu commented 1 month ago

An error linked to this issue has been marked as fixed in Bugsnag ActionView::Template::Error in Communication::Website::CleanAndRebuildJob@whale