xsharp.eu • randomly dbserver:setorder("BLABLA") == false
Page 1 of 1

randomly dbserver:setorder("BLABLA") == false

Posted: Wed Jul 29, 2020 3:21 pm
by Theo
Hi, I've troubles with our good old VO-Application regarding setorder(). It fails randomly, or better say it pops up at setorder, but when I check with the debugger (hard and rare to reproduce) I see all dbserver:commands are failing (skip/goto/close/etc)
The index and the order are defined and are not damaged. Just restart the app and everything is working again.

What I found with the debugger is an oErrorInfo regarding "OPTIMISTIC_BUFFER_FLUSH". The record changed since last read.
I'm not sure if this is the root cause for the problem, but has anyone suggestions how to handle or avoid this one?

Best regards from the blue Danube
Theo

randomly dbserver:setorder("BLABLA") == false

Posted: Wed Jul 29, 2020 3:46 pm
by wriedmann
Hi Theo,
are you using VO 2.8 SP4b and using optimistic locking?
I have discovered an old bug a few weeks ago when working with a customer migrating an application from VO 2.5 to 2.8.
You could try this DLL here: https://www.riedmann.it/download/VO28RDD.zip . This DLL was compiled and digitally signed by me, but it is not an official VO DLL.
Wolfgang