Bug 798372

Summary: requesting non-existent owners with admin auth creates an ERROR entry in the logs
Product: [Community] Candlepin Reporter: Brenton Leanhardt <bleanhar>
Component: candlepinAssignee: Bryan Kearney <bkearney>
Status: CLOSED CURRENTRELEASE QA Contact: Eric Sammons <esammons>
Severity: low Docs Contact:
Priority: unspecified    
Version: 0.5   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-17 13:03:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brenton Leanhardt 2012-02-28 18:28:55 UTC
Description of problem:

Making this request:
curl -u candlepin_admin:XXXXXX http://example.com:8080/candlepin/owners/12345/

Results in the following log message:

Feb 28 13:26:41 [http-8080-1] ERROR org.candlepin.auth.interceptor.SecurityInterceptor - No such entity: class org.candlepin.model.Owner id: 12345



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

candlepin-tomcat6-0.5.5.2-1.el6.noarch
candlepin-0.5.5.2-1.el6.noarch

Expected results:
I don't expect anything other than a debug or info level log entry to be created.

Additional info:
This is tripping up our monitoring.

Comment 1 Bryan Kearney 2012-03-01 20:09:19 UTC
Fixed in master at b8e075ae17cedc3c21e2966dbf9cc89c33bc0e51. 05.24 or later should have the fix.

Comment 2 Bryan Kearney 2012-07-17 13:03:15 UTC
Marking all community bugs modified or beyong as closed.