Issue with Marketing/Campaign which has no target market
Found in
EPiServer.Commerce 13.22.0
Fixed in
EPiServer.Commerce 13.27.0
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:
- Create a new campaign.
- Edit "Target markets", uncheck all (change to None).
- Save and return to Campaign list.
- In left pane (under search field), select Campaign status => All and Market => Any
- 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).