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

Requests with missing repository key return a 500 status when they should return a 400 status.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Artifactory
    • Labels:
      None
    • Severity:
      Low
    • Location:
      External

      Description

      • Problem description: Requests that are missing the repository key return a 500 status (server error) while in fact, they should return a 400 error (bad request)
      • What is the expected behavior? Bad requests should return a 400 status code.
      • Steps to reproduce:
      1. Execute the following REST API:
      2. https://<JFROG_IP>:8082/artifactory//projects///manifest.json?properties
        
      • Environment details: 
      • Artifactory/Xray version which the bug was reproduced on : 7.37.15
      • DB type & Version: Derby
      • Is this an HA env? No
      • Is this On-Prem or SaaS? On-Prem
      • Please add any relevant Stacktrace 
      • {
          "errors" : [ {
            "status" : 500,
            "message" : "Repo key cannot be empty. Path: projects///manifest.json"
          } ]
        }
        
        

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              hanank Hanan Kemelman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

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