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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.11
    • 3.0, 2.7.12
    • JAX-RS
    • Moderate
    • 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

              sergey_beryozkin Sergey Beryozkin
              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