[RTFACT-15160] NPM metadata calculation stops after the first error Created: 29/Oct/17  Updated: 07/Feb/19  Resolved: 28/Jan/18

Status: Resolved
Project: Artifactory Binary Repository
Component/s: Metadata, NPM
Affects Version/s: 5.5.1
Fix Version/s: 5.9.0

Type: Bug Priority: High
Reporter: Aviv Blonder Assignee: Liza Dashevski (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Attachments: Text File art.log    
Issue Links:
Contains(WBSGantt)
Assigned QA: Nadav Yogev
Epic Link: Q4 Customer Commitments Leap 26
Sprint: Leap 28

 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


Generated at Sun Nov 17 20:20:59 UTC 2019 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.