Bug #10679
closedAdding puppet modules from KT causes Foreman to become unusable
Description
Description of problem:
When I'm publishing content view with any puppet module I can't access /puppetclasses page in Web-UI.
Version-Release number of selected component (if applicable):
foreman-1.8.1-1.el7.noarch
katello-2.2.0-5.el7.noarch
How reproducible:
100%
Steps to Reproduce:
1. Add content view
2. Add dnsclient puppet module to content view
3. Publish content view
4. Access /puppetclasses page in Web-UI
Actual results:
ArgumentError
malformed format string
app/views/puppetclasses/index.html.erb:34:in `block in app_views_puppetclasses_index_html_erb_2600411640433299104_129379400'
app/views/puppetclasses/index.html.erb:19:in `_app_views_puppetclasses_index_html_erb__2600411640433299104_129379400'
app/controllers/concerns/application_shared.rb:13:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'
Expected results:
All works properly.