Project

General

Profile

Bug #10679

Adding puppet modules from KT causes Foreman to become unusable

Added by Vladimir Stackov about 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internationalization
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

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.

History

#1 Updated by Dominic Cleal about 7 years ago

Are you accessing Foreman in a non-English locale?

#2 Updated by Vladimir Stackov about 7 years ago

Dominic Cleal wrote:

Are you accessing Foreman in a non-English locale?

Yes, I'm using ru_RU.

#3 Updated by Vladimir Stackov about 7 years ago

Dominic Cleal wrote:

Are you accessing Foreman in a non-English locale?

Just checked: no matter if I'll import module directly from puppet master or from KT.

#4 Updated by Dominic Cleal about 7 years ago

  • Category set to Internationalization
  • Status changed from New to Closed
  • Assignee set to Dominic Cleal
  • % Done changed from 0 to 100
  • Legacy Backlogs Release (now unused) set to 56

Thanks, I found a bug in the translation where a % should have been %s. I've fixed this for the next version - as a workaround you'd have to use another language.

Also available in: Atom PDF