SaaS CMS has officially launched! Learn more now.

Issue with Marketing/Campaign which has no target market

Found in

EPiServer.Commerce 13.22.0

Fixed in

EPiServer.Commerce 13.27.0

(Or a related package)

Created

Oct 28, 2020

Updated

Dec 21, 2020

State

Closed, Fixed and tested


Description

Fixed issue with HTTP 500 error when filtering with CampaignFacet in the Commerce Marketing interface in scenarios with a campaign without any target market.

Environments: Reproduced with Quicksilver, Commerce v13.22.0, 13.23.1, 13.24.0.

Steps to reproduce:

  1. Create a new campaign.
  2. Edit "Target markets", uncheck all (change to None).
  3. Save and return to Campaign list.
  4. In left pane (under search field), select Campaign status => All and Market => Any
  5. The page goes blank, checking XHR requests, the call to http://quicksilver.ging.ep.se/episerver/EPiServer.Commerce.Shell/Stores/facet/campaignFacet?facetString=... returns HTTP 500 (YSOD screenshot attached).