Issue with Marketing/Campaign which has no target market

Found in

EPiServer.Commerce 13.22.0

Fixed in

EPiServer.Commerce 13.27.0


Oct 28, 2020


Dec 21, 2020


Closed, Fixed and tested


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 returns HTTP 500 (YSOD screenshot attached).