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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.13, 3.0
    • Fix Version/s: 2.6.15, 2.7.12, 3.0.1
    • Component/s: JAX-RS
    • Labels:
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: