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

NPM metadata calculation stops after the first error

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.5.1
    • Fix Version/s: 5.9.0
    • Component/s: Metadata, NPM
    • Labels:
      None

      Description

      To reproduce:

      1. Put a faulty npm package in your npm repository, for example, http-parser-js@0.4.5 (which has non-UTF8 contributors value)
      2. Trigger a metadata calculation, by REST API or UI (right click on repo name and "Recalculate index")

      Error:
      The metadata is running alphabetically on all the packages in the repo. Once it gets to the faulty package (for example, http-parser-js), it throws an error and won't continue to the next valid packages. See attached artifactory.log art.log

        Attachments

          Activity

            People

            • Assignee:
              lizad Liza Dashevski (Inactive)
              Reporter:
              avivb Aviv Blonder
              Assigned QA:
              Nadav Yogev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: