Admin Mode: Server Error when clicking "Previous" link on Change Log

Found in

EPiServer.CMS.UI 11.23.6

Fixed in

EPiServer.CMS.UI 11.23.7

Created

Feb 26, 2020

Updated

Mar 04, 2020

Area

CMS UI

State

Closed, Fixed and tested


Description

Prerequisite:
The "Change log"_is only 2 pages long.

Steps to reproduce:

  1. Go to admin mode > Change log.
  2. At the "Changed by" field, enter the name of a user to filter the log.
    > Observe: You see page 1 of the "Change log."
  3. Click the "Next" link.
    > Observe: You see page 2 of the "Change log."
  4. Click "Previous".

Expected:
You see page 1 of the "Change log."

Actual result:
Internal server error

Server Error in '/' Application.
Stack empty.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: System.InvalidOperationException: Stack empty.
 
Source Error:
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
 
Stack Trace:
 
 
[InvalidOperationException: Stack empty.]
   System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +57
   System.Collections.Generic.Stack`1.Pop() +8716238
   EPiServer.UI.Admin.ViewChangeLog.PrevButton_Click(Object sender, EventArgs e) +42
   EPiServer.UI.WebControls.ToolButton.OnClick(EventArgs e) +129
   EPiServer.UI.WebControls.ToolButton.RaisePostBackEvent(String eventArgument) +223
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5028