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

401 when trying to get item property from Docker V2 repositories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 4.15.0, 5.8.4
    • Fix Version/s: None
    • Component/s: Docker, REST API
    • Labels:
      None

      Description

      When trying to get item property from a v2 Docker repository we encounter a 401 error while from other repositories we get the properties.

      Steps to reproduce:
      1. add a property under a file in a docker repository.
      2. use the following REST API command - curl -X GET http://ARTIFACTORY_URL:PORT/artifactory/api/storage/DOCKER_REPOSITORY/PATH/TO/FILE?properties

      Output from console:
      {
      "errors" : [

      { "status" : 401, "message" : "Unauthorized" }

      ]

      When trying to get the property from a different repository we get the properties under the file:

      curl -X GET ARTIFACTORY_URL:PORT/artifactory/api/storage/REPOSITORY/PATH/TO/FILE?properties
      {
      "properties" :

      { "asd" : [ "asd" ] }

      ,
      "uri" : "http://ARTIFACTORY_URL:PORT/artifactory/api/storage/REPOSITORY/PATH/TO/FILE"

      NOTE - This issue occurs only in Docker V2 repositories.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            yonatanb@jfrog.com Yonatan Brand
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: