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

Missing package folder details for Conan package type in GraphQL response

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: UI
    • Labels:
    • Environment:

      7.21.8, Saas instance

    • Location:
      External

      Description

      Description:

      GraphQL response for the Conan package type results in the files information of the export folder instead of the “package” folder. 

      I have attached the GraphQL request and response files and packages screenshot.

       GraphQL Request:

          packages(
              filter: {
                  packageTypeIn: [CONAN]
              },
              orderBy: {
                  field: NAME,
                  direction: DESC
              }
          )

      GraphQL Response:

                     "files": [
                        {
                          "name": "conan_export.tgz"
                        },
                        {
                          "name": "conanmanifest.txt"
                        },
                        {
                          "name": "conanfile.py"
                        }
                      ],
      

      Expected behaviour:

      Executing a GraphQL request for the Conan package type should result in a response from the package folder.

      Actual behaviour:

      Executing a GraphQL request for the Conan package type results in the response from the export folder.

      Steps to Reproduce:

      1. Open Graphiql tool,  <artifactory server url>/metadata/api/v1/query/graphiql and execute the GraphQL request for CONAN package type. 
      2. Verify the “files” section in the GraphQL response. 

      Impact:

      If we want to delete the versions of the packages based on the attributes from the GraphQL response for the Conan package type. We are unable to perform the action due to this behaviour.

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            sandeepa Sandeep Anikapati
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

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