You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2016/01/22 08:39:39 UTC

[jira] [Commented] (OLINGO-837) JPAExpandCallBack uses FromRole when validating a navigation property name

    [ https://issues.apache.org/jira/browse/OLINGO-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15112055#comment-15112055 ] 

Michael Bolz commented on OLINGO-837:
-------------------------------------

Hi [~tothgya],

can you please share a sample JPA entity (annotations) which lead to the issue?
And if you could add/attach a JUnit test it would also very helpful (at best in the {{org.apache.olingo.odata2.jpa.processor.core.access.data.JPAExpandCallBackTest}} class).

Best Regards,
Michael

> JPAExpandCallBack uses FromRole when validating a navigation property name
> --------------------------------------------------------------------------
>
>                 Key: OLINGO-837
>                 URL: https://issues.apache.org/jira/browse/OLINGO-837
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-jpa
>    Affects Versions: V2 2.0.5
>            Reporter: Gyula Árpád Tóth
>            Assignee: Michael Bolz
>            Priority: Minor
>         Attachments: 0001-OLINGO-837-getNextNavigationProperty-fix.patch
>
>
> Navigation property name validations in JPAExpandCallBack will fail if the FromRole is numbered.
> I suggest to cut the numbering from the FromRole and do the compare without it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)