Try our conversational search powered by Generative AI!

All uploaded .zip files become typed as ReportingMediaData instead of generic MediaData type

Found in

EPiServer.Commerce 12.16.0

Fixed in

EPiServer.Commerce 12.17.0

(Or a related package)

Created

Jan 28, 2019

Updated

Feb 15, 2019

State

Closed, Fixed and tested


Description

Prerequisites:

  • Episerver Commerce 12.9.0 or higher
  • A class that inherits from MediaData with no MediaDescriptor attribute

Steps to reproduce:

  1. Upload a .zip file to Episerver Commerce.

Expected:
The file should be typed as the class that inherits from MediaData, with no MediaDescriptor attribute.

Actual:
The file is typed ReportingMediaData, with no properties to set

Background information:
In Commerce 12.17, Episerver changed the media content type for reports. The order reports are no longer registered as .zip files to avoid conflicts with your media types. Because of that, you should re-run the Collect Report Data scheduled job to recreate the reports using the new media types.