Project

General

Profile

Actions

Bug #13214

closed

Asset katello/containers/container.css is not precompiled

Added by Dominic Cleal almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Container
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

A Docker-related stylesheet asset in Katello is not precompiled, which causes an with assets.raise_runtime_errors. Found when applying this to the test environment in #13144.

ActionView::Template::Error: Asset filtered out and will not be served: add `Rails.application.config.assets.precompile += %w( katello/containers/container.css )` to `config/initializers/assets.rb` and restart your server
    app/helpers/layout_helper.rb:20:in `block in stylesheet'
    app/helpers/layout_helper.rb:20:in `stylesheet'
    /var/lib/workspace/workspace/test_katello_core/database/postgresql/ruby/2.2/slave/fast/plugin/app/views/foreman_docker/containers/steps/_katello_container.html.erb:2:in `_14d13bcae4a435b8915bbe4e99037e5a'
    /var/lib/workspace/workspace/test_katello_core/database/postgresql/ruby/2.2/slave/fast/plugin/app/helpers/katello/concerns/foreman_docker/container_steps_helper_extensions.rb:7:in `katello_partial'
    foreman_docker (2.0.0) app/views/containers/steps/image.html.erb:29:in `block (2 levels) in _fa55ff5a14b4456ea98bb86c68560246'
    app/helpers/layout_helper.rb:407:in `form_for'
    foreman_docker (2.0.0) app/views/containers/steps/image.html.erb:25:in `block in _fa55ff5a14b4456ea98bb86c68560246'
    foreman_docker (2.0.0) app/views/containers/steps/_title.html.erb:3:in `_972b029ffd73c976244b4d755cdac5fa'
    foreman_docker (2.0.0) app/views/containers/steps/image.html.erb:4:in `_fa55ff5a14b4456ea98bb86c68560246'
    foreman_docker (2.0.0) app/controllers/containers/steps_controller.rb:14:in `show'
    app/controllers/concerns/application_shared.rb:13:in `set_timezone'
    app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
    /var/lib/workspace/workspace/test_katello_core/database/postgresql/ruby/2.2/slave/fast/plugin/test/controllers/foreman/containers/steps_controller_test.rb:20:in `test_show_image_loads_katello' (ActionView::Template::Error)
/usr/local/rvm/gems/ruby-2.2.3@test_katello_core-3/gems/sprockets-rails-2.3.3/lib/sprockets/rails/helper.rb:193

Related issues 2 (0 open2 closed)

Has duplicate Katello - Bug #13493: Docker plugin missing sass dependency after fresh install for Foreman 1.10.1 on CentOS 7.2Duplicate01/31/2016Actions
Blocks Foreman - Feature #13144: Enable assets.raise_runtime_errors in test environmentClosedDominic Cleal01/12/2016Actions
Actions #1

Updated by Dominic Cleal almost 9 years ago

  • Blocks Feature #13144: Enable assets.raise_runtime_errors in test environment added
Actions #2

Updated by Eric Helms almost 9 years ago

  • Translation missing: en.field_release set to 86
Actions #3

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Eric Helms
  • Pull request https://github.com/Katello/katello/pull/5708 added
Actions #4

Updated by Eric Helms almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Eric Helms almost 9 years ago

  • Has duplicate Bug #13493: Docker plugin missing sass dependency after fresh install for Foreman 1.10.1 on CentOS 7.2 added
Actions

Also available in: Atom PDF