Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359134

Summary: RIOs return status code 500 in response message for resource not found
Product: [Technology] Lyo Reporter: Michael Fiedler <fiedler.mf>
Component: RIOAssignee: Michael Fiedler <fiedler.mf>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3 CC: sspeiche
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Fiedler CLA 2011-09-27 15:49:21 EDT
GET a resource which does not exist and the response body looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:oslc="http://open-services.net/ns/core#"
>
	<oslc:Error>
		<oslc:statusCode>500</oslc:statusCode>
		<oslc:message></oslc:message>
	</oslc:Error>
</rdf:RDF>


The response header has a status code of 404.


1) Give a correct status code in the response body
2) Give an error message in the response body.

Please assign this bug to Michael Fiedler
Comment 1 Michael Fiedler CLA 2013-01-15 10:17:35 EST
The older RIOs will not be enhanced.
Comment 2 Samuel Padgett CLA 2015-03-09 09:52:13 EDT
Bulk update: Closing out Lyo bugs fixed long ago. Feel free to reopen if you feel your bug was closed in error.