Try our conversational search powered by Generative AI!

Error in task panel (CMS UI 10)

Found in

EPiServer.CMS.UI 10.12.1

Fixed in

EPiServer.CMS.UI 10.12.5

(Or a related package)

Created

Jun 22, 2018

Updated

Jul 17, 2018

Area

CMS UI

State

Closed, Fixed and tested


Description

Steps to reproduce

1) Create a page and publish it.
2) Change the page's language settings and set it to "Ready for review".
3) Go to the "Tasks" panel and choose "Awaiting Review" from the drop-down.
5) Observe the developer console.

Expected: No error.

Actual:
There is 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