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

Artifactory throwing 500 on for FileExpectedException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.16.1, 7.16.3
    • Component/s: None
    • Labels:
    • Environment:

      7.6.0 SaaS

    • Severity:
      Medium
    • Release Notes:
      No

      Description

      ISSUE: When trying to upload/move a file in the path where already a folder with the same name as the file is present, the "FileExpectedException" will be thrown from the backend. 

      The exception is thrown with a 500 status code to the UI and in the platform UI, this is considered as Internal server error and users see the below screenshot. 

      REPRODUCTION STEPS: Upload a folder called "test" to "generic-local"(for ex) and upload a file with the same name "test" in the same path. 

      EXPECTED: Throw 409(conflict) or 400(bad request) status code to the UI so the 500 page is avoided.

       

        Attachments

          Activity

              People

              Assignee:
              michaelak Michael Akushsky
              Reporter:
              satheeshb Satheesh Balachandran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

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