NullReferenceException when doing CSV imports and meta class cannot be loaded

Found in

EPiServer.Commerce 11.0.0

Fixed in

EPiServer.Commerce 11.2.4

Created

Sep 06 2017

Updated

Sep 22 2017

Area

Core

State

Closed, Fixed and tested


Description

Steps to reproduce

1. Create a CSV import/export file that refers to metadata classes that do not exist for this site.
2. Import that CSV file from Commerce Manager.

Expected: An error message saying that the meta class cannot be loaded.

Actual: A NullReferenceException message.