Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-8540

Underscore in LIKE queries must be implicitly escaped

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • webapp
    • None

      When

      • I search for 'ABC_' in Webapps, in LIKE queries

      Then

      • my search criteria should be send to REST API as:
        '%ABC\_%'

        (underscore is escaped by backslash)

      So that

      • I can search for the entries having underscore in target field

      ACHTUNG! There exists some logic, like when user explicitly use % in the search field, than no more transformation is performed with it before sending to the backend. This behaviour should stay the same.

      NB. Correct behavior was broken after implementing CAM-7479, but only for the databases, that don't propose escape character by default. These must be: Oracle, DB2, MSSQL Server.

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              svetlana.dorokhova Svetlana Dorokhova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: