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

FIQL: the % character is not taken into account in FIQL expression

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.11
    • Fix Version/s: 3.0, 2.7.12
    • Component/s: JAX-RS
    • Labels:
    • Estimated Complexity:
      Moderate
    • CXF Fields:
      Blocked on External

      Description

      When there is the character '%' in the expression FIQL the JPA query is not valid.
      Currently, for this following expression FIQL:
      _s=name==apache%software*
      the generated SQL query is:
      ... where name like 'apache%software%'
      while the generated SQL query should be:
      ... where name like 'apache%sofware%' escape '\'

        Attachments

        1. patch.txt
          3 kB
          Romain Castan

          Issue Links

            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:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified