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

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
Post Reply
Theo
Posts: 2
Joined: Mon Nov 18, 2019 9:40 am

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

Post 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
User avatar
wriedmann
Posts: 3752
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

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

Post 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
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Post Reply