Eugenio Lentini created OLINGO-464:
--------------------------------------
Summary: Wrong entity container name
Key: OLINGO-464
URL: https://issues.apache.org/jira/browse/OLINGO-464
Project: Olingo
Issue Type: Bug
Components: odata2-core
Affects Versions: V2 2.0.0, V2 1.2.0
Reporter: Eugenio Lentini
Priority: Critical
Hi,
I have the OData service available on http://127.0.0.1:8081/res.svc/ when I
invoke the service I get an issue with the name of the entity container.
The issue comes from UriParserImpl.java line 169
final String entityContainerName = percentDecode(matcher.group(1));
and as entity container name I get "res" and segment name "svc".
Then in my EdmProvider implementation the method getEntityContainerInfo check
if the name passed is equal to "ODataResEntityContainer" and it fails. This is
the same behavior I have found in the doc
http://olingo.apache.org/doc/odata2/tutorials/basicread.html
I use the ODataServlet in my configuration.
I have not changed the code since 2nd of July, before was perfectly working,
now something has changed I guess. Do you know what has happened?
Thanks a lot for your attention.
Eugenio
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)