Bug 678325 - Super-admin GET of consumers for username 'rh-alpha-200' give 500 error
Summary: Super-admin GET of consumers for username 'rh-alpha-200' give 500 error
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.5
Hardware: x86_64
OS: Solaris
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Bryan Kearney
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-17 15:43 UTC by Ken Coar
Modified: 2015-05-14 15:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-27 18:21:32 UTC


Attachments (Terms of Use)
Using GET from perl-libwww-perl-5.837-2.fc13.noarch: GET -C {super-admin-username}:{sa-pw} -SUse http://candlepin1.devlab.phx1.redhat.com:8080/candlepin/consumers'?username=rh-alpha-200' (985 bytes, text/plain)
2011-02-17 15:43 UTC, Ken Coar
no flags Details

Description Ken Coar 2011-02-17 15:43:15 UTC
Created attachment 479353 [details]
Using GET from perl-libwww-perl-5.837-2.fc13.noarch: GET -C {super-admin-username}:{sa-pw} -SUse http://candlepin1.devlab.phx1.redhat.com:8080/candlepin/consumers'?username=rh-alpha-200'

Description of problem:

Attempting to fetch a consumer list for username 'rh-alpha-200' from candlepin1.devlab.phx1.redhat.com gives a 500 error and an abstruse error message.

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

candlepin-jboss-0.2.6-1.el5
candlepin-it-jars-0.2.6-8

How reproducible:

Every time, at least with the data currently on Candlepin1 (the problem may not be reproducible after the next refresh!).

Steps to Reproduce:
1. Issue a "GET http://candlepin1.devlab.phx1.redhat.com:8080/candlepin/consumers?username=rh-alpha-200" using the super-admin credentials.
  
Actual results:

{"displayMessage":"Runtime Error Unable to find org.fedoraproject.candlepin.model.Pool with id 8a878c912cc29795012cc2ac768602c7 (through reference chain: java.util.ArrayList[0]->org.fedoraproject.candlepin.model.Consumer[\"entitlements\"]) at org.hibernate.ejb.Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound:113"}

Expected results:

A (possibly empty) JSON array of consumers.

Additional info:

N/A

Comment 1 Bryan Kearney 2011-06-21 14:13:30 UTC
Is this still an issue? If not, can you please close?


Note You need to log in before you can comment on or make changes to this bug.