DXC/Commerce: Wrong type of license check performed

Found in

EPiServer.CMS.Core 11.3.0

Fixed in

EPiServer.CMS.Core 11.3.2

Created

Jan 16, 2018

Updated

Jun 27, 2018

Area

CMS Core

State

Closed, Fixed and tested


Description

When Commerce sites are initialized, they perform a license check before the license system has been properly initialized. The consequence is that, for Commerce sites, the license system is always initialized with a file-based license check even if it should use access-key license check.

Step to reproduce:
1) Install a commerce site using EPiServer.CMS.Core 11.3.0.
2) Deploy in DXC-S.
3) Start the site.
4) Go to edit mode.

Expected:
The site should not give a license error (given that the cloud license settings are valid).

Actual:
A license error is displayed "License.config could not be loaded".