CMS 10 - HttpContext.Current is null when saving approval sequence

Found in

EPiServer.CMS.UI 10.12.1

Created

Nov 08 2017

Updated

Nov 10 2017

Fixed in

EPiServer.CMS.UI 10.12.2

Area

CMS UI

State

Closed, Fixed and tested

Voting

Affected? You can raise the priority of a bug by voting for it. By doing so, you will be helping our developers to choose which bug to fix next.

Voting is disabled for closed bugs.

0

Description

Steps to reproduce
1. Create a custom SecurityEntityProvider that calls the HttpContext.Current in the Search method.
2. In the edit page, click Edit Approval Sequence.
3. Enable an approval sequence and enter the reviewer's role.
4. Save the approval sequence.

Expected: You can save successfully.
Actual: NullReferenceException in the custom SecurityEntityProvider created in step 1.

Comments