Bug 962858

Summary: GET /resource/{id}/alerts returns 200 for non-existing resource ID
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: RESTAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.7CC: theute
Target Milestone: ---   
Target Release: RHQ 4.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 10:17:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Libor Zoubek 2013-05-14 15:22:14 UTC
Version-Release number of selected component (if applicable):
RHQ 4.8-master

How reproducible:


Steps to Reproduce:
GET http://localhost:7080/rest/resource/9999999/alerts

  
Actual results: server returns 200


Expected results: server returns 404

Comment 1 Heiko W. Rupp 2013-05-17 12:24:16 UTC
master 92fd97dd8

Comment 2 Heiko W. Rupp 2013-08-31 10:17:47 UTC
Bulk close of old bugs in VERIFIED state.