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

Latest version returns highest version according to string sort

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 2.5.0
    • None
    • backend
    • None

    Description

      Context:
      The implementration of #getLatestVersionToKey returns wrong results if there are more than 9 versions as the string sorting considers e.g. "9" bigger than "10". This is caused due to the version field being a keyword in elasticsearch.

      AT:

      • the actual biggest version in terms of number comparison is returned

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce