Hi,
I have created a new script report after updating to v8, the following steps I have followed:
- Create a script report, make it as standard for my custom app
- The report on saving created a folder within the custom app
- Now I added a simple filter in the report to check if the report is working
- Logging into the report does not load the filter and the below console error is there
- The letter head is left blank
Uncaught SyntaxError: Unexpected string
at Object.eval (desk.min.js:595)
at Object.callback (report.min.js:1082)
at Object.callback [as success_callback] (desk.min.js:1319)
at 200 (desk.min.js:1344)
at Object.<anonymous> (desk.min.js:1444)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at XMLHttpRequest.<anonymous> (jquery.min.js:4)
eval @ desk.min.js:595
callback @ report.min.js:1082
callback @ desk.min.js:1319
200 @ desk.min.js:1344
(anonymous) @ desk.min.js:1444
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
z @ jquery.min.js:4
(anonymous) @ jquery.min.js:4
report.min.js:1087 Uncaught TypeError: Cannot set property 'html_format' of undefined
at report.min.js:1087
at Function.<anonymous> (desk.min.js:1568)
at Function.each (jquery.min.js:2)
at Object.frappe.request.cleanup (desk.min.js:1567)
at Object.<anonymous> (desk.min.js:1460)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at XMLHttpRequest.<anonymous> (jquery.min.js:4)
I think there is some issue with the way the new report json is being created