Dnn.Platform
Dnn.Platform copied to clipboard
[Bug]: HTML Module "Version History" Pager Doesn't work
Is there an existing issue for this?
- [X] I have searched the existing issues
What happened?
New Install of DNN Version 09.13.06 (0) with Default Website Template.
In the PortalSettings Table I increased the value for MaximumVersionHistory to 20 to keep more versions, but when I view Version History in the HTML Module that has more than 10 versions, the Pager doesn't work. In the Browser Devtools I get the following error when I click on a page number in the Version History Pager:
2024-12-05 07:19:43.726-06:00 [martserver4][D:2][T:13][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page. System.Web.HttpException (0x80004005): The GridView 'dgVersions' fired event PageIndexChanging which wasn't handled. at System.Web.UI.WebControls.GridView.OnPageIndexChanging(GridViewPageEventArgs e) at System.Web.UI.WebControls.GridView.HandlePage(Int32 newPage) at System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) at System.Web.UI.Page.d__523.MoveNext() 2024-12-05 07:19:43.772-06:00 [martserver4][D:2][T:13][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: The GridView 'dgVersions' fired event PageIndexChanging which wasn't handled. ---> System.Web.HttpException: The GridView 'dgVersions' fired event PageIndexChanging which wasn't handled. at System.Web.UI.WebControls.GridView.OnPageIndexChanging(GridViewPageEventArgs e) at System.Web.UI.WebControls.GridView.HandlePage(Int32 newPage) at System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) at System.Web.UI.Page.d__523.MoveNext() --- End of inner exception stack trace ---
Steps to reproduce?
- Edit and Save the content of any HTML Module until you have more than 10 versions.
- Edit the HTML Module Content and click the :Version Hisstory " Button.
- At the bottom of the Versions Grid there are numbered "Pager Links" that when clicked produce the error.
Current Behavior
I think this was covered in "Steps to Reproduce"
Expected Behavior
When the Version History Pager Links are clicked, I should see the next page of Versions of the HTML Content.
Relevant log output
2024-12-05 07:19:43.726-06:00 [martserver4][D:2][T:13][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page.
System.Web.HttpException (0x80004005): The GridView 'dgVersions' fired event PageIndexChanging which wasn't handled.
at System.Web.UI.WebControls.GridView.OnPageIndexChanging(GridViewPageEventArgs e)
at System.Web.UI.WebControls.GridView.HandlePage(Int32 newPage)
at System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup)
at System.Web.UI.Page.d__523.MoveNext()
2024-12-05 07:19:43.772-06:00 [martserver4][D:2][T:13][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: The GridView 'dgVersions' fired event PageIndexChanging which wasn't handled. ---> System.Web.HttpException: The GridView 'dgVersions' fired event PageIndexChanging which wasn't handled.
at System.Web.UI.WebControls.GridView.OnPageIndexChanging(GridViewPageEventArgs e)
at System.Web.UI.WebControls.GridView.HandlePage(Int32 newPage)
at System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup)
at System.Web.UI.Page.d__523.MoveNext()
--- End of inner exception stack trace ---
Anything else?
Nope! It's pretty easy to reproduce the error.
Affected Versions
9.13.6 (latest release)
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
Code of Conduct
- [X] I agree to follow this project's Code of Conduct