Try our conversational search powered by Generative AI!

Error in task panel

Found in

EPiServer.CMS.UI 10.12.1

Fixed in

EPiServer.CMS.UI 11.5.4

(Or a related package)

Created

Jul 12, 2018

Updated

Jul 30, 2018

Area

CMS UI

State

Closed, Fixed and tested


Description

Steps to reproduce

1) Create a page and publish it.
2) Change the Language Settings of the page.
3) Set the page as "Ready for review".
3) Go to the "Tasks" panel and, from the drop-down, choose "Awaiting Review".
5) Observe the developer console.

Expected:
No error

Actual:
An error:
[InvalidCastException: Unable to cast object of type EPiServer.ChangeApproval.Core.Internal.ChangeApproval to type EPiServer.Approvals.ContentApprovals.ContentApproval]
System.Linq.<CastIterator>d__95`1.MoveNext() +94
System.Linq.Buffer`1..ctor(IEnumerable`1 source) +133
System.Linq.<GetEnumerator>d__1.MoveNext() +175
System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +87
EPiServer.Core.Internal.DefaultContentLoader.GetItems(IEnumerable`1 contentLinks, LoaderOptions loaderOptions) +75
EPiServer.Cms.Shell.Service.Internal.ContentLoaderService.GetItems(IEnumerable`1 contentReferences, LanguageSelector languageSelector) +14