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

Closed SebouChu closed 1 month ago

SebouChu commented 1 month ago

Error in Osuny

ActionView::Template::Error in Communication::Website::CleanAndRebuildJob@whale undefined method `title' for an instance of Communication::Website::Page::Home

View on Bugsnag

Stacktrace

app/models/communication/block/template/page.rb:41 - heading_title
app/views/admin/communication/blocks/_static.html.erb:8 - _app_views_admin_communication_blocks__static_html_erb___787706221204808901_220520
app/views/admin/communication/blocks/headings/_static.html.erb:8 - block in _app_views_admin_communication_blocks_headings__static_html_erb__1063277597877677635_221760
app/views/admin/communication/blocks/headings/_static.html.erb:7 - _app_views_admin_communication_blocks_headings__static_html_erb__1063277597877677635_221760
app/views/admin/communication/blocks/content/_static.html.erb:14 - block in _app_views_admin_communication_blocks_content__static_html_erb___937929402915590119_220480
app/views/admin/communication/blocks/content/_static.html.erb:13 - _app_views_admin_communication_blocks_content__static_html_erb___937929402915590119_220480
app/views/admin/communication/websites/pages/static.html.erb:48 - _app_views_admin_communication_websites_pages_static_html_erb___124830795597366119_220260
app/services/static.rb:23 - render
app/models/communication/website/git_file.rb:66 - to_s
app/services/git/repository.rb:91 - 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::IndirectObject::SyncWithGitJob@elephant