Latest version returns highest version according to string sort

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.5.0
    • Affects Version/s: None
    • Component/s: backend
    • None

      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

            Assignee:
            Unassigned
            Reporter:
            Sebastian Bathke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: