Try our conversational search powered by Generative AI!

Requesting an approval with anonymous user throws exception

Found in

EPiServer.CMS.Core 12.9.2

Fixed in

EPiServer.CMS.Core 12.12.0

Created

Nov 16, 2022

Updated

Jan 13, 2023

Area

CMS Core

State

Closed, Fixed and tested


Description

Fixed an issue that threw an SQL exception in SPROC netApprovalAdd when you requested an approval on a content item with an anonymous user. The SPROC expected that the parameter @StartedBy is not null.

HttpContext.User.Identity.Name has changed from "" (empty string) to null between .NET Framework and ASP.NET Core.