cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Castan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5806) FIQL: Problem with mapping on ManyToMany or OnToMany associations of 2nd level
Date Mon, 16 Jun 2014 08:34:01 GMT

     [ https://issues.apache.org/jira/browse/CXF-5806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Romain Castan updated CXF-5806:
-------------------------------

    Description: 
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}



  was:
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}
properties: 
nameD=listD.name
Request:
?_s=nameD==xxxx
{code}
The following request doesn't work:
{code:title=Fiql request KO}
properties: 
nameC=b.listC.name
Request:
?_s=nameC==xxxx
{code}




> 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)

Mime
View raw message