Open Rabbit-00 opened 1 month ago
There is an extra .html.erb in the link to a used partial with causes the search for expired_message.html.erb.html.erb: https://github.com/theforeman/foreman_expire_hosts/blob/5cdf0e29b5f020ad9ca3c213c32308871386c3d6/app/overrides/add_expired_on_field_to_host_show.rb#L7
.html.erb
The produced error:
4b73dbe8 | :original => '04eff2647b0286f740745ea4dac125f4fae83b15' 2024-10-25T15:32:28 [W|app|4b73dbe8] Missing partial /hosts/_expired_message.html.erb with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in: 4b73dbe8 | "/usr/share/foreman/app/views" 4b73dbe8 | "/usr/share/gems/gems/foreman_webhooks-3.2.1/app/views" 4b73dbe8 | "/usr/share/gems/gems/foreman_statistics-2.1.0/app/views" 4b73dbe8 | "/usr/share/gems/gems/foreman_snapshot_management-2.0.3/app/views" 4b73dbe8 | "/usr/share/gems/gems/puppetdb_foreman-6.0.2/app/views" 4b73dbe8 | "/usr/share/gems/gems/foreman_ansible-12.0.6/app/views" 4b73dbe8 | "/usr/share/gems/gems/foreman_puppet-6.0.0/app/views" 4b73dbe8 | "/usr/share/gems/gems/foreman_setup-8.0.1/app/views" 4b73dbe8 | "/usr/share/gems/gems/foreman_expire_hosts-8.1.0/app/views" 4b73dbe8 | "/usr/share/gems/gems/foreman_dhcp_browser-0.0.8/app/views" 4b73dbe8 | "/usr/share/gems/gems/foreman_remote_execution-10.1.2/app/views" 4b73dbe8 | "/usr/share/gems/gems/foreman_templates-9.3.3/app/views" 4b73dbe8 | "/usr/share/gems/gems/foreman-tasks-8.1.4/app/views" 4b73dbe8 | "/usr/local/share/gems/gems/apipie-dsl-2.6.2/app/views" 4b73dbe8 | * "/usr/share/gems/gems/apipie-rails-1.1.0/app/views"
Error is not present in other overrides
P.S. there is also a typo in a word warning but it doesn't affect anything: https://github.com/theforeman/foreman_expire_hosts/blob/5cdf0e29b5f020ad9ca3c213c32308871386c3d6/app/overrides/add_expired_on_field_to_host_show.rb#L5
warning
There is an extra
.html.erb
in the link to a used partial with causes the search for expired_message.html.erb.html.erb: https://github.com/theforeman/foreman_expire_hosts/blob/5cdf0e29b5f020ad9ca3c213c32308871386c3d6/app/overrides/add_expired_on_field_to_host_show.rb#L7The produced error:
Error is not present in other overrides
P.S. there is also a typo in a word
warning
but it doesn't affect anything: https://github.com/theforeman/foreman_expire_hosts/blob/5cdf0e29b5f020ad9ca3c213c32308871386c3d6/app/overrides/add_expired_on_field_to_host_show.rb#L5