Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5806

FIQL: Problem with mapping on ManyToMany or OnToMany associations of 2nd level

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.13, 3.0
    • 2.6.15, 2.7.12, 3.0.1
    • JAX-RS
    • Unknown

    Description

      The simplest is used an example to illustrate the problem

      Example
      class ClassA {
          ClassB b;
          List<ClassD> listD;
      };
      class ClassB {
          List<ClassC> listC;
      };
      class ClassC {
          String name;
      };
      class ClassD {
          String name;
      }
      

      The following request works:

      Fiql request OK (1er level)
      properties: 
      nameD=listD.name
      Request:
      ?_s=nameD==xxxx
      

      The following request doesn't work:

      Fiql request KO (2nd level)
      properties: 
      nameC=b.listC.name
      Request:
      ?_s=nameC==xxxx
      

      Attachments

        1. patch.txt
          3 kB
          Romain Castan

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            tolosa-rom Romain Castan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: