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

Artifactory fails to index NPM package when metadata has symbol in it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 6.20.0
    • Fix Version/s: 7.12.3
    • Component/s: Metadata, NPM
    • Labels:
      None
    • Severity:
      Medium

      Description

      Issue description: When an NPM package that has a symbol in its package.json file is deployed into Artifactory, it fails to index the artifact.

      Steps to reproduce:
      -> Install Artifactory instance, configure the Artifactory with MYSQL database which is encoded with UTF-8.
      -> Created NPM repositories using Quick Setup
      -> Configure NPM client with NPM virtual repository
      -> Install escape-goat package using below command:
      > npm install escape-goat --registry http://<ARTIFACTORY-URL>/artifactory/api/npm/npm

      Please find the screenshots attached for reference along with DEBUG loggers while indexing the package

      Expected behavior:
      Artifctory should be able to successfully index the NPM package.

        Attachments

        1. debug.log
          29 kB
        2. Screenshot-1.png
          Screenshot-1.png
          109 kB
        3. With-other-encoding-schema.png
          With-other-encoding-schema.png
          242 kB

          Issue Links

            Activity

                People

                Assignee:
                tomers Tomer Slutsky
                Reporter:
                pavang Pavan Gonugunta
                Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Sync Status

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