Bug 1261027 (TEIID-3686) - OData DELETE nonexisting row - wrong response code
Summary: OData DELETE nonexisting row - wrong response code
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: TEIID-3686
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: jolee
QA Contact: Filip Elias
URL:
Whiteboard:
Depends On:
Blocks: 1242071
TreeView+ depends on / blocked
 
Reported: 2015-09-08 12:55 UTC by Michal Sanitrak
Modified: 2016-08-01 12:54 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1266539 (view as bug list)
Environment:
Last Closed: 2016-02-10 08:53:30 UTC
Type: Support Patch
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-3686 0 Major Closed OData DELETE nonexisting row - wrong response code 2016-08-18 07:54:35 UTC

Description Michal Sanitrak 2015-09-08 12:55:04 UTC
Describe the issue: 
I deployed VDB that can be accessed with OData. When I perform DELETE request to remove row for first time response code is 200 OK (maybe it should be 204) but when I repeat the same DELETE request and tried to delete already deleted entry, response is again 200 OK, but it should be 404 Not Found. Same thing happens even I when tried to delete entry with id that doesn't exist at all.

More info in Jira TEIID-3686

Comment 1 JBoss JIRA Server 2015-09-08 16:27:57 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-3686 to Resolved

Comment 2 jolee 2015-09-30 15:49:09 UTC
git:jboss-integration/teiid.git : 8.7.x-prod-ipv6.2 : 9e5e783

git:teiid/teiid.git : 62-8.7.x : 9e5e783

Comment 3 JBoss JIRA Server 2016-01-27 21:25:02 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3686 to Closed

Comment 4 JBoss JIRA Server 2016-06-20 12:14:25 UTC
Van Halbert <vhalbert> updated the status of jira TEIID-3686 to Reopened

Comment 5 JBoss JIRA Server 2016-06-22 21:35:30 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-3686 to Resolved

Comment 6 JBoss JIRA Server 2016-08-01 12:54:46 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3686 to Closed


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