Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-14872

GAVC search might return incorrect response

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 5.3.1, 5.4.6
    • Fix Version/s: None
    • Component/s: REST API, Search
    • Labels:
      None
    • Severity:
      Medium

      Description

      In some use cases the GAVC search might return incorrect response.

      Steps to reproduce:

      1. upload two files, one to:
      /xx/yy/zz/1.0/zz-1.0.jar == groupId=xx.yy + artifactId=zz
      and the other to:
      /xx/yy/zz/zz/3.5.3/zz-3.5.3.jar == groupId=xx.yy.zz + artifactId=zz

      2. run this query:

      curl -uuser:password 'https://localhost:8081/artifactory/api/search/latestVersion?repos=yourRepo&g=xx.yy&a=zz'
      

      3. The response will be 3.5.3 instead of 1.0

        Attachments

          Activity

              People

              Assignee:
              aviz Avi Zaig (Inactive)
              Reporter:
              eranb Eran Blumenthal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-14872 -
                  SYNCHRONIZED
                  • Last Sync Date: