Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

500 error in manage > posts paging

Đang mở
#191 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Lĩnh vực
backend

Hướng nghiên cứu

Bắt đầu bằng cách theo dõi phân trang trong chế độ xem manage > posts xung quanh control grdPosts và ngoại lệ PageIndexChanging được hiển thị trong log DNN. Tái hiện lỗi bằng cách mở các trang 2 và 3; hoàn tất khi các trang đó tải mà không có lỗi 500.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

We have upgraded to the latest version of the blog and now when we go into the manage > posts menu the list of posts is around 30 over 3 pages. The first 10 posts display in the table correctly. There are 3 page links at the bottom of the post list table.
Clicking either page 2 or 3 gives a 500 error and we get the following error in the DNN log:

2022-05-12 09:09:13,019 [Orchid][Thread:11][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: The GridView 'grdPosts' fired event PageIndexChanging which wasn't handled. ---> System.Web.HttpException: The GridView 'grdPosts' 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 ---

Can you advise what the issue may be and a possible solution?
Regards
Roger

Ngôn ngữ chính
JavaScript
Star
39
Fork
41
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DNNCommunity/DNN.Blog

Tất cả issue của DNNCommunity/DNN.Blog

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.