Project

General

Profile

Bug #19042

Getting error "no implicit conversion of Fixnum into String" while performing manifest refresh

Added by Chris Roberts almost 2 years ago. Updated 9 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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

Revision 59799d59 (diff)
Added by Chris Roberts almost 2 years ago

Fixes #19042 - force username to string

Fixes #19042 - force username to string

History

#1 Updated by The Foreman Bot almost 2 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 almost 2 years ago

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

#3 Updated by Justin Sherrill almost 2 years ago

  • Legacy Backlogs Release (now unused) set to 211

Also available in: Atom PDF