Importer errors with Products causes app to crash with an uncaught error #4326
Labels
bug
For issues that describe a defect or regression in the released software
Milestone
Issue Description
Don't import data into Products, Shipping, and Tags collection if data already exists. The importer sometimes freaks out and tries to re-import the same data into those collections with the same ID and it causes to the app to crash on startup.
(This error is from an added console log of the uncaught error in the importer)
Steps to Reproduce
Basic Reaction Product--
Possible Solution
count === 0
to wrap import statements in/server/startup/load-data.js
/server/api/core/importer.js
inImporter.commit
Versions
Node: 9.10.1
NPM: 6.1.0
Meteor Node: 8.11.2
Meteor NPM: 5.10.0
Reaction CLI: 0.29.0
Reaction: 1.13.0
Reaction branch: feat-4319-mikemurray-pdp-catalog
Docker: 18.03.1-ce
The text was updated successfully, but these errors were encountered: