We couldn't load all Actvitity tabs. Refresh the page to try again.
If the problem persists, contact your Jira admin.
Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-4294

Improve handling of meaningless API range queries

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.4.0, 7.4.0-alpha3
    • None
    • engine
    • None

      Examples:

      • jobQuery.priorityHigherThanOrEquals(5).priorityLowerThanOrEquals(3)
      • jobQuery.duedateLowerThan(yesterday).duedateHigherThan(tomorrow)
      • taskQuery.taskMinPriority(4).taskMaxPriority(2)

      For all of these queries, it is apparent that the result set will be empty. These queries can be improved in one of the following two ways:

      • validate the input (reasoning: make the user as soon as possible aware of a meaningless query)
      • avoid the SQL query at all and just return an empty list

      Current state: no validation is made, but the query executed anyways

      Pull request for solution option 2: https://github.com/camunda/camunda-bpm-platform/pull/166/files

        This is the controller panel for Smart Panels app

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

            Improve handling of meaningless API range queries

              • Icon: Feature Request Feature Request
              • Resolution: Fixed
              • Icon: L3 - Default L3 - Default
              • 7.4.0, 7.4.0-alpha3
              • None
              • engine
              • None

                Examples:

                • jobQuery.priorityHigherThanOrEquals(5).priorityLowerThanOrEquals(3)
                • jobQuery.duedateLowerThan(yesterday).duedateHigherThan(tomorrow)
                • taskQuery.taskMinPriority(4).taskMaxPriority(2)

                For all of these queries, it is apparent that the result set will be empty. These queries can be improved in one of the following two ways:

                • validate the input (reasoning: make the user as soon as possible aware of a meaningless query)
                • avoid the SQL query at all and just return an empty list

                Current state: no validation is made, but the query executed anyways

                Pull request for solution option 2: https://github.com/camunda/camunda-bpm-platform/pull/166/files

                  This is the controller panel for Smart Panels app

                        thorben.lindhauer Thorben Lindhauer
                        thorben.lindhauer Thorben Lindhauer
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        2 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                              thorben.lindhauer Thorben Lindhauer
                              thorben.lindhauer Thorben Lindhauer
                              Votes:
                              0 Vote for this issue
                              Watchers:
                              2 Start watching this issue

                                Created:
                                Updated:
                                Resolved: