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

Reports not working at all in 15.29.2 #42239

Closed
prononext opened this issue Jul 8, 2024 · 2 comments
Closed

Reports not working at all in 15.29.2 #42239

prononext opened this issue Jul 8, 2024 · 2 comments
Labels

Comments

@prononext
Copy link

Information about bug

When trying on any doctype I cannot see any report view. Not the system ones, not the custom ones and also not when just switching to the report view.

Browser Console Error Provided:

Module

accounts, projects, support

Version

  • ERPNext: v15.29.2
  • Frappe Framework: v15.33.3
  • Frappe HR: v15.23.1
  • Payments: v0.0.1
  • Print Designer: v1.4.0

Installation method

docker

Relevant log output / Stack trace / Full Error Message.

Crome:

report_view.js:225 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'find')
    at frappe.views.ReportView.get_count_element (report_view.js:225:34)
    at frappe.views.ReportView.freeze (list_view.js:505:9)
    at frappe.views.ReportView.refresh (base_list.js:491:8)
    at frappe.views.ReportView.refresh (list_view.js:312:16)
    at frappe.views.ReportView.refresh (utils.js:890:19)
    at onload (task__custom_list_js:21:18)
    at frappe.listview_settings.Task.onload (task__custom_list_js:195:9)
    at frappe.views.ReportView.setup_result_area (report_view.js:79:41)

Firefox:

Uncaught (in promise) TypeError: this.$paging_area is undefined
    get_count_element report_view.js:225
    freeze list_view.js:505
    refresh base_list.js:491
    refresh list_view.js:312
    throttle utils.js:890
    onload task__custom_list_js:21
    onload task__custom_list_js:195
    setup_result_area report_view.js:79
report_view.js:225:15
Uncaught TypeError: this.$paging_area is undefined
    get_count_element report_view.js:225
    freeze list_view.js:505
    refresh base_list.js:491
    refresh list_view.js:312
    throttle utils.js:890
    refresh_list_view base_list.js:659
    s utils.js:905
@prononext prononext added the bug label Jul 8, 2024
@Nihantra-Patel
Copy link
Contributor

at onload (task__custom_list_js:21:18)

If any applied the listview client script then remove or comment out it. because everything is working fine. No problems were encountered in the latest version 15.

scrnli_10_07_2024_10-37-16.mp4

@prononext
Copy link
Author

If you still are looking for a working Reports view Feature and also are using Clients scripts on the List view. You might have to do a exeption and check to not apply the Client view when reports are active like this:

if (!frappe.route_options || frappe.route_options.view != 'Report')

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants