Pricing changes are coming in January. Contact our Sales team to secure the current price for your desired license.

updateData() infinite Analyzing data...

Answered
Julian asked on July 11, 2024

Greetings.
We have a problem with updateData(). The system works fine, but at certain patterns we get the message "Analyzing data...". And an error in the console. Surprisingly, the error does not always appear. And the system works as usual.

In our example, we have "select". By selecting one of the three records, we get an array of data from the server
Which are changed using updateData()
arr1 = [ { {...}, {...}, ...],
arr2 = [ { {...}, {...}, ...],
arr3 = [ empty ],

The regularity of loading data and getting errors:
arr1, arr3, arr2.
arr1, arr2, arr3, arr2.
arr5, arr3, arr2.
arr1, arr3, arr5.

The error appears when we change an empty array to a filled one. But not always. And there should be 3 arrays in the sequence.

But this problem is not present if the pattern is like this:
arr3, arr2, arr3, arr2, arr3 ...
Or
arr2, arr3, arr2, arr3, arr2 ...

Thanks for the reply.

3 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster July 12, 2024

Hello, Julian!

Thank you for reaching out to us.

We could not reproduce the described behavior on our side. Could you please provide us with a sample on which the described behavior is reproducible? This information would help us greatly to continue the investigation.

You are welcome to modify the following JSFiddle to reproduce the case: https://jsfiddle.net/flexmonster/ptghL412/.

Looking forward to hearing from you.

Kind regards,
Solomiia

Public
Julian July 12, 2024

Thanks for your reply.
We have solved this problem on our side.

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster July 15, 2024

Hello, Julian!

Thank you for getting back to us.

We are glad to hear everything works well now.

Feel free to reach out to us in case of any other questions.

Kind regards,
Solomiia

Please login or Register to Submit Answer