Actions
Bug #11178
closederror strings with % in them break messages
Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer core
Target version:
Difficulty:
Triaged:
Pull request:
Team Backlog:
Description
Stack trace and error string below.
/home/thomasmckay/.rvm/gems/ruby-1.9.3-p547@hammer/gems/fast_gettext-0.9.2/lib/fast_gettext/vendor/string.rb:70:in `%': malformed format string - %' (ArgumentError) from /home/thomasmckay/.rvm/gems/ruby-1.9.3-p547@hammer/gems/fast_gettext-0.9.2/lib/fast_gettext/vendor/string.rb:70:in `%' from /home/thomasmckay/code/hammer-cli/lib/hammer_cli/utils.rb:12:in `format' from /home/thomasmckay/code/hammer-cli/lib/hammer_cli/output/adapter/abstract.rb:27:in `print_error' from /home/thomasmckay/code/hammer-cli/lib/hammer_cli/output/output.rb:16:in `print_error' from /home/thomasmckay/code/hammer-cli/lib/hammer_cli/exception_handler.rb:45:in `print_error'
The error string being processed was
"Error: Operating system '<%#' not found Kickstart default,1,"Default Organization,Alpha Bit Soup",Default Location,Redhat,"<%# kind: ptable name: Kickstart default oses: - CentOS 5 - CentOS 6 - CentOS 7 - Fedora 16 - Fedora 17 - Fedora 18 - Fedora 19 - Fedora 20 - RedHat 5 - RedHat 6 - RedHat 7 %> zerombr clearpart --all --initlabel autopart ", "
Updated by Tomáš Strachota over 8 years ago
- Related to Tracker #14914: Tracker for output related issues added
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli/pull/245 added
Updated by Kavita Gaikwad over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 2786b6cea81adef2d53823eede119d8c49ce5cb1.
Updated by Tomáš Strachota over 7 years ago
- Translation missing: en.field_release set to 242
Actions