For loop issue

Options
Hi guys,

In a custom function, I have a for loop nested in a while loop.
The while loop iterates a paginated request to the DB (until the page_num>last_page), and the for loop iterates the records of the current page. After the for loop, I add 1 to the page_num variable.
[image.png]When I do nothing within the for loop, or when step 5.4.3 only add a record with data that is not related to the current_release, everything is ok.
But when I try to activate 5.4.1, or add a value depending on the current_release in 5.4.3, I get an error ("an unknown error has occured").
However, 5.4.3 properly creates all the records in the database!

Any idea about what happens?

Comments