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

taskNameLike and taskDescriptionLike queries (for Historical Tasks) and descriptionLike (for Tasks) are case sensitive

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: L3 - Default L3 - Default
    • 7.14.0, 7.14.0-alpha2
    • 7.13.0
    • engine
    • None

      To reproduce: 

      Given:
      Create a task with name "Test", complete it

      When:

      1. Call POST /history/task with taskNameLike=%test%
      2. Call POST /history/task with taskNameLike=%Test%

      Then:

      1. Provides no result
      2. Provides a result

      Expected:
      It would be nice if descriptionLike for Task queries and taskDescriptionLike for Historical Task queries could be case insensitive as well.

      Note:
      This is inconsistent with nameLike for Task queries, which are case insensitive as of https://jira.camunda.com/browse/CAM-6363

      See also:

      https://jira.camunda.com/browse/CAM-6472
      https://jira.camunda.com/browse/CAM-6363
      https://github.com/camunda/camunda-bpm-platform/commit/22de77b18493c73fbe76bd10ed5e31b496eb443e

        This is the controller panel for Smart Panels app

            [CAM-12186] taskNameLike and taskDescriptionLike queries (for Historical Tasks) and descriptionLike (for Tasks) are case sensitive

            Stefan added a comment - - edited nameLike, Tasks, does have UPPER():  https://github.com/camunda/camunda-bpm-platform/blob/22de77b18493c73fbe76bd10ed5e31b496eb443e/engine/src/main/resources/org/camunda/bpm/engine/impl/mapping/entity/Task.xml#L260 descriptionLIke, Tasks, no UPPER():  https://github.com/camunda/camunda-bpm-platform/blob/22de77b18493c73fbe76bd10ed5e31b496eb443e/engine/src/main/resources/org/camunda/bpm/engine/impl/mapping/entity/Task.xml#L265 taskNameLike, Historical Tasks, no UPPER():  https://github.com/camunda/camunda-bpm-platform/blob/22de77b18493c73fbe76bd10ed5e31b496eb443e/engine/src/main/resources/org/camunda/bpm/engine/impl/mapping/entity/HistoricTaskInstance.xml#L300 taskDescriptionLike, Historical Tasks, no UPPER():  https://github.com/camunda/camunda-bpm-platform/blob/22de77b18493c73fbe76bd10ed5e31b496eb443e/engine/src/main/resources/org/camunda/bpm/engine/impl/mapping/entity/HistoricTaskInstance.xml#L291  

            Hey Ru,

            Thank you for the nice description and commit references. As there is nothing actually broken, but only missing, I will reclassify this ticket as a feature request and forward the ticket for a decision.

            However, feel free to contribute a PR to adjust this behavior.

            Best,
            Nikola

            Nikola Koevski added a comment - Hey Ru , Thank you for the nice description and commit references. As there is nothing actually broken, but only missing, I will reclassify this ticket as a feature request and forward the ticket for a decision. However, feel free to contribute a PR to adjust this behavior. Best, Nikola

            Stefan added a comment -

            Stefan added a comment - PR submitted:  https://github.com/camunda/camunda-bpm-platform/pull/908

              nikola.koevski Nikola Koevski
              Ru Stefan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: