[teiid-issues] [JBoss JIRA] (TEIID-3798) response code for "primary key of parent table not found"
Ramesh Reddy (JIRA)
issues at jboss.org
Mon Nov 2 10:31:00 EST 2015
[ https://issues.jboss.org/browse/TEIID-3798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124335#comment-13124335 ]
Ramesh Reddy commented on TEIID-3798:
-------------------------------------
I could only find reference in V4 spec http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-protocol/odata-v4.0-errata02-os-part1-protocol-complete.html#_Toc406398294
IMO, V2 spec mutilated when converted to webpages on odata.org, I could not find the original word documents.
In general if the URL resource does not exist, it should be 404
> response code for "primary key of parent table not found"
> ---------------------------------------------------------
>
> Key: TEIID-3798
> URL: https://issues.jboss.org/browse/TEIID-3798
> Project: Teiid
> Issue Type: Bug
> Reporter: Prashanthi Kairuppala
> Assignee: Steven Hawkins
> Priority: Critical
>
> Hi,
>
> When the primary key of the parent table is not found in the below kind of odata URL:
>
> odata/VDB/ParentTable/123/ChildTable
>
> then the response code is expected to be 404/500 or any error code, but we are getting 200 OK success code.
>
> Thanks,
> Prashanthi.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the teiid-issues
mailing list