Project

General

Profile

Bug #15185

Organization show api broken on 6.2

Added by Stephen Benjamin over 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1339711
Description of problem:
500 error when trying to show an organization

Version-Release number of selected component (if applicable):
6.2 snap 12.1

How reproducible:
Always

Steps to Reproduce:
1. Try to show an org:
curl -X GET -s -k -u admin:changeme https://localhost/api/v2/organizations/1

Actual results:
500 error

2016-05-25 16:30:52 [app] [I] Started GET "/api/v2/organizations/1" for 192.168.121.1 at 2016-05-25 16:30:52 +0000
2016-05-25 16:30:52 [app] [F] | NoMethodError (undefined method `match' for nil:NilClass): | katello (3.0.0.32) config/routes/overrides.rb:6:in `block in matches?' | katello (3.0.0.32) config/routes/overrides.rb:6:in `map' | katello (3.0.0.32) config/routes/overrides.rb:6:in `matches?' | lib/middleware/catch_json_parse_errors.rb:9:in `call'

Expected results:
Success

Additional info:

Associated revisions

Revision 77e1ab61 (diff)
Added by Stephen Benjamin over 3 years ago

fixes #15185 - allow access to foreman org show api (#6068)

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Stephen Benjamin
  • Pull request https://github.com/Katello/katello/pull/6068 added

#2 Updated by Anonymous over 3 years ago

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

#3 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 143

Also available in: Atom PDF