Description:
When opening Query Reports in Frappe v15, the console shows the following error:
Uncaught TypeError: Cannot read properties of undefined (reading 'HR')
at frappe.breadcrumbs.update
at Object.add
at QueryReport.set_breadcrumbs
at QueryReport.setup_page_head
Steps to Reproduce:
- Go to any Query Report in Frappe v15 (e.g., HR Reports).
- Open the report.
- Observe the console error and that the report is not displayed properly.
Expected Behavior:
Query Reports should display normally, and breadcrumbs should render without errors.
Actual Behavior:
The report fails to display due to the TypeError, caused by frappe.breadcrumbs.update trying to read this.all[page] which is undefined for Query Reports.
Additional Info / Console Log:
Uncaught TypeError: Cannot read properties of undefined (reading 'HR')
at frappe.breadcrumbs.update
at Object.add
at QueryReport.set_breadcrumbs
at QueryReport.setup_page_head

Description:
When opening Query Reports in Frappe v15, the console shows the following error:
Steps to Reproduce:
Expected Behavior:
Query Reports should display normally, and breadcrumbs should render without errors.
Actual Behavior:
The report fails to display due to the TypeError, caused by frappe.breadcrumbs.update trying to read this.all[page] which is undefined for Query Reports.
Additional Info / Console Log: