[
https://issues.apache.org/jira/browse/CXF-5806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14036343#comment-14036343
]
Sergey Beryozkin commented on CXF-5806:
---------------------------------------
Hi, thanks for the patch, I've applied it, we can optimize a split function a
bit, not a problem, but can you look please at a disabled test that I added,
JPATypedVisitorQueryTest#testGetLibraryBook() ?
I have a Book->Library->List of Books, Library contains 3 books, the test was
failing with a JPA-level exception before I applied the patch, after the patch
JPA itself was OK but the test fails, 1 book is expected back, it returns 3...
Thanks, Sergey
> FIQL: Problem with mapping on ManyToMany or OnToMany associations of 2nd level
> ------------------------------------------------------------------------------
>
> Key: CXF-5806
> URL: https://issues.apache.org/jira/browse/CXF-5806
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.6.13, 3.0.0
> Reporter: Romain Castan
> Labels: patch
> Attachments: patch.txt
>
>
> The simplest is used an example to illustrate the problem
> {code:title=Example}
> class ClassA {
> ClassB b;
> List<ClassD> listD;
> };
> class ClassB {
> List<ClassC> listC;
> };
> class ClassC {
> String name;
> };
> class ClassD {
> String name;
> }
> {code}
> The following request works:
> {code:title=Fiql request OK (1er level)}
> properties:
> nameD=listD.name
> Request:
> ?_s=nameD==xxxx
> {code}
> The following request doesn't work:
> {code:title=Fiql request KO (2nd level)}
> properties:
> nameC=b.listC.name
> Request:
> ?_s=nameC==xxxx
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)