Bug #19042
Getting error "no implicit conversion of Fixnum into String" while performing manifest refresh
Description
when using a proxy username with all #'s instead of being passed to a string it gets passed as an integer. This results in this traceback when refreshing the manifest:
Whenever refresh manifest from webUI and hammer, we are getting below error
------------------------------------------------------------------------
TypeError
no implicit conversion of Fixnum into String
------------------------------------------------------------------------
---
- "/opt/rh/rh-ruby22/root/usr/share/ruby/uri/generic.rb:399:in `=~'"
- "/opt/rh/rh-ruby22/root/usr/share/ruby/uri/generic.rb:399:in `!~'"
- "/opt/rh/rh-ruby22/root/usr/share/ruby/uri/generic.rb:399:in `check_user'"
- "/opt/rh/rh-ruby22/root/usr/share/ruby/uri/generic.rb:472:in `user='"
- "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.105/app/lib/katello/resources/candlepin.rb:275:in
`resource'"
Associated revisions
History
#1
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6705 added
#2
Updated by Chris Roberts about 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|59799d596e852f25e2e05cbde4e8f5eb7a65be3a.
#3
Updated by Justin Sherrill about 5 years ago
- Legacy Backlogs Release (now unused) set to 211
Fixes #19042 - force username to string
Fixes #19042 - force username to string