Erro on classic report

Answered
Tiago Felício asked on December 8, 2023

Good evening.
 
I am having problems with the classic report. When i set the report data, the report freeze and don't load the data. On browser console it throw the error below:

Uncaught TypeError: Cannot read properties of undefined (reading 'push')
at Function.Lr (flexmonster.full.js:50:344)
at f.insert (flexmonster.full.js:1105:251)
at b.insertData (flexmonster.full.js:1242:148)
at b.ov (flexmonster.full.js:1240:6)
at Object.gp (flexmonster.full.js:1236:485)
at Function.$ha (flexmonster.full.js:79:238)
at TJa (flexmonster.full.js:79:116)

On the attach are screenshots and the json with the reporti'm using.
Any idea what is the field that throwing this error?
Thank you

Attachments:
flexmonster-error.zip

5 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster December 11, 2023

Hello, Tiago!
 
Thank you for reaching out to us.
 
As a first step, could you please update Flexmonster to the latest version and let us know if the case is reproducible in the latest version?
Here is our updating guide for reference: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
 
Looking forward to hearing from you.
 
Kind regards,
Solomiia

Public
Tiago Felício December 11, 2023

Good afternoon.
I performed the update and add on attach a the screenshot of the error with the lib version.
Some additional information:

  • We use Angular and we use Flexmonster by ng-flexmonster NPM package.
  • We have several reports with different configurations and they are changed using the setReport() method.
  • With the exception of reports in classic mode, all other reports works normally.
  • I tried to force the report to update using the refresh() method, but it didn't solve the problem.

I'm doing tests to see if I can find any more information that might be useful, if I do I'll let you know in the ticket.
Thank you very much

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster December 13, 2023

Hello, Tiago!
 
Thank you for the provided details about your use case.
 
Our team still could not reproduce the described behavior on our side. Could you please provide us with the code snippet with all custom code where the described behavior is reproducible?
You are welcome to modify the following JSFiddle: https://jsfiddle.net/flexmonster/2uensbvd/.
This information would help us greatly to continue the investigation.
 
Looking forward to hearing from you.
 
Kind regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster January 11, 2024

Hello, Tiago!
 
Hope you are doing well.
 
Our team is wondering if you had a chance to prepare a code snippet for us where the described behavior of loading the report in classic form is reproducible.
With this information, our team will be able to continue the investigation.
 
Looking forward to hearing from you.
 
Kind regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster January 18, 2024

Hello, Tiago!

Hope everything is well.

Just checking in to ask if you have any updates on the loading report on the classic table.

Looking forward to hearing your feedback.

Kind regards,
Solomiia

Please login or Register to Submit Answer