Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: HTML Module "Version History" Pager Doesn't work #6257

Open
2 tasks done
djamell opened this issue Dec 8, 2024 · 0 comments
Open
2 tasks done

[Bug]: HTML Module "Version History" Pager Doesn't work #6257

djamell opened this issue Dec 8, 2024 · 0 comments

Comments

@djamell
Copy link

djamell commented Dec 8, 2024

Is there an existing issue for this?

  • 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?

  1. Edit and Save the content of any HTML Module until you have more than 10 versions.
  2. Edit the HTML Module Content and click the :Version Hisstory " Button.
  3. 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

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant