Jul 12, 2018
Jul 30, 2018
CMS UI
Closed, Fixed and tested
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