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

uploading npm component where package.json bugs key is string fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 3.9.0, 3.10.0
    • Fix Version/s: 3.15.0
    • Component/s: NPM, REST, Upload UI
    • Labels:
    • Story Points:
      2

      Description

      steps to reproduce:

      The request will fail with a 500 Internal Server Error and the message child 'bugs' not a Map

      this error is caused by the fact that in the original package.json file bugs property is a string not an object.

      based on http://json.schemastore.org/package the bugs property could be an object or a plain string

      original package.json

      npm registry package.json

      uploading (using npm publish) the raw tgz file works but the shasum changes and breaks the package

        Attachments

          Activity

            People

            Assignee:
            elijahel Elijah El-Haddad
            Reporter:
            Meir017 Meir Blachman
            Last Updated By:
            Peter Lynch Peter Lynch
            Team:
            NXRM - Tron
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title