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

Closed SebouChu closed 3 months ago

SebouChu commented 3 months ago

Error in Osuny

ActionView::Template::Error in Communication::Website::CleanAndRebuildJob@whale undefined method `with_link_component' for an instance of Communication::Block::Template::Person

View on Bugsnag

Stacktrace

app/views/admin/communication/blocks/components/_static.html.erb:3 - public_send
app/views/admin/communication/blocks/components/_static.html.erb:3 - _app_views_admin_communication_blocks_components__static_html_erb___171997140431907276_195760
app/helpers/admin/blocks_helper.rb:25 - block_component_static
app/views/admin/communication/blocks/templates/persons/_static.html.erb:2 - _app_views_admin_communication_blocks_templates_persons__static_html_erb___2602524461420590629_198280
app/views/admin/communication/blocks/_static.html.erb:15 - _app_views_admin_communication_blocks__static_html_erb__2265871945062320139_195720
app/views/admin/communication/blocks/headings/_static.html.erb:8 - block in _app_views_admin_communication_blocks_headings__static_html_erb___1781037035777433791_198220
app/views/admin/communication/blocks/headings/_static.html.erb:7 - _app_views_admin_communication_blocks_headings__static_html_erb___1781037035777433791_198220
app/views/admin/communication/blocks/content/_static.html.erb:14 - block in _app_views_admin_communication_blocks_content__static_html_erb__2488397211536034990_195680
app/views/admin/communication/blocks/content/_static.html.erb:13 - _app_views_admin_communication_blocks_content__static_html_erb__2488397211536034990_195680
app/views/admin/communication/websites/pages/static.html.erb:43 - _app_views_admin_communication_websites_pages_static_html_erb__3370287358093122333_195460
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:165 - 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:28 - perform

View full stacktrace

Created automatically via Bugsnag

SebouChu commented 3 months ago

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