Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-20688

Cannot upload .pdb files due to incorrect content type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.17.0
    • Fix Version/s: None
    • Component/s: Repository
    • Labels:
      None

      Description

      Cannot upload a .pdb (program database, also known as symbol file) for an app built with Visual Studio. 

      The file is uploaded via the Jenkins plugin after building, Nexus 3 log contains the following warning:

      WARN ... org.sonatype.nexus.repository.storage.StorageTxImpl - An exception occurred determining the content type of asset com/....app-x64Debug.pdb in repository releases

      WARN ... org.sonatype.nexus.repository.view.handlers.ExceptionHandler - Invalid content: PUT /com/....app-x64Debug.pdb: org.sonatype.nexus.repository.InvalidContentException: Detected content type [text/plain], but expected [chemical/x-pdb]: com/....app-x64Debug.pdb

       

      There should at least be a way to override the automatic detection.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              Dewo Dean B
              Last Updated By:
              Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title