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 #2248

Closed SebouChu closed 1 month ago

SebouChu commented 1 month ago

Error in Osuny

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

View on Bugsnag

Stacktrace

app/views/admin/education/programs/static.html.erb:23 - _app_views_admin_education_programs_static_html_erb___3996105072579686938_618500
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