getFoundSetUpdater strange behaviour

I can’t tell this is a bug because I can not replicate this within a test application but I am not able to perform a getFoundSetUpdater more than once in my solution…

This is what I do:

var set = databaseManager.getFoundSetUpdater(orders_to_orders_items);
set.setColumn("rebatecheck", rebatecheck);
set.setColumn("rebate", rebate);
var result = set.performUpdate();

The first time I perform this piece of code the value of result is true and the update is done. Every next time (also with another foundset) it doesn’t work anymore but the result remains true.

What can I do to test this even more intense to see what goes wrong…

so the second time you use that code it won’t update any rows?
but rebate(check) is different?

that’s very strange because if you use exactly that code. There is no link between the first or the second time (it is completely new..)

Yes, it is really strange. And yes, the second time the value is different…

sample solution?

Will try to replicate it in a sample solution. Hang on…