Subject | Possible bug in TIB_Transaction.SysTimeOutPromptUser |
---|---|
Author | (no author) |
Post date | 2013-03-25T11:19:35Z |
Hello group,
Recently I had to brush up my Delphi skills having to deal with a somewhat complex Firebird+IBO application at work. My background is in Delphi programming but I moved on to doing mostly C#/.NET programming about 5 years ago so some things may be a bit rusty.
Trying to better understand transaction handling among other things, I stumbled into the TimeoutProps property and started wondering why the default dialog prompt from 'EndWithConfirm' would not show. Turns out that in the procedure 'TIB_Transaction.SysTimeOutPromptUser' there is a check for 'IB_Session.IsBusy' which is always true if the procedure is being called by the Session-Timer.
Various comments in the code suggest to use 'BusyLevel =0' instead so my guess is that this is an oversight. Some feedback would be appreciated.
If this problem is already known I apologize and would be grateful to be pointed at the correct location to check for these things.
Have a good day everyone, I will probably have more questions shortly. ;-)
Regards,
Thomas
[Non-text portions of this message have been removed]
Recently I had to brush up my Delphi skills having to deal with a somewhat complex Firebird+IBO application at work. My background is in Delphi programming but I moved on to doing mostly C#/.NET programming about 5 years ago so some things may be a bit rusty.
Trying to better understand transaction handling among other things, I stumbled into the TimeoutProps property and started wondering why the default dialog prompt from 'EndWithConfirm' would not show. Turns out that in the procedure 'TIB_Transaction.SysTimeOutPromptUser' there is a check for 'IB_Session.IsBusy' which is always true if the procedure is being called by the Session-Timer.
Various comments in the code suggest to use 'BusyLevel =0' instead so my guess is that this is an oversight. Some feedback would be appreciated.
If this problem is already known I apologize and would be grateful to be pointed at the correct location to check for these things.
Have a good day everyone, I will probably have more questions shortly. ;-)
Regards,
Thomas
[Non-text portions of this message have been removed]