Bug #15185
closedOrganization show api broken on 6.2
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: