Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-7278

Investigate version sorting logic for retrieval of latest definition

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • 3.12.0-alpha2, 3.11.4
    • None
    • backend
    • None
    • Not defined

      Context:

      During PR review we noticed that the retrieval of the latest cached definition may be sorting the definitions the wrong way around and retrieving the first instead of the latest definition. See conversation here:

      https://github.com/camunda/camunda-optimize/pull/8635#discussion_r1328339671

      Lets double check this and fix if required.

      AT:

      • if required, cached definition retrieval sorting is reversed to ensure retrieval of latest definition

      Testing Notes:

      • Deploy v1 of definition and start process
      • Create digest for definition
      • Trigger email sending for digest
      • Observe the definition name in the digest email
      • Deploy v2 of the definition and change its name, and start a new process
      • Trigger the digest again
      • Observe the email contains the updated name of the process definition

        This is the controller panel for Smart Panels app

              cigdem.ilhan Cigdem Ilhan
              helene.waechtler Helene Waechtler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: