Page 1 of 1
EDatabaseError in 7.2.6
Posted: Wed 04 Apr 2018 17:49
by FredS
Code: Select all
EDatabaseError: Cannot perform this operation on a closed dataset.
Call stack:
Code: Select all
5116b0bd dbrtl240.bpl Data.DB 3268 +7 DatabaseError
5117faed dbrtl240.bpl Data.DB 12487 +1 TDataSet.CheckActive
51184204 dbrtl240.bpl Data.DB 14895 +1 TDataSet.Refresh.@label
511836b5 dbrtl240.bpl Data.DB 14439 +1 TDataSet.BeginInsertAppend
511837a1 dbrtl240.bpl Data.DB 14468 +1 TDataSet.AddRecord
004b5e82 PA.exe DataMod 1704 +3 TDataDM.LookupServersAddAllStr
5118451d dbrtl240.bpl Data.DB 15024 +1 TDataSet.DoAfterRefresh
511831df dbrtl240.bpl Data.DB 14287 +8 TDataSet.Refresh
These Lookup tables are opened in a thread:
Code: Select all
procedure TDataDM.LookupServersAddAllStr(DataSet: TDataSet);
begin
ProcessHintMsg('Lookup Table ''Servers'' is active..');
Assert(TCustomUniDataset(DataSet).LocalUpdate, 'With LocalUpdate active, Data Changes are cached locally in memory');
DataSet.AppendRecord([AllStr, '%']);
DecrementLookupsCountinAsyncMode();
end;
Reverted to '7.1.4 (29-Sep-2017)' and all is well..
Re: EDatabaseError in 7.2.6
Posted: Thu 05 Apr 2018 06:21
by ViktorV
We have already fixed the issue. This fix will be included in the next build of UniDAC.
We can send you a UniDAC night build including the fix. Please provide your license number and IDE version to viktorv*devart*com and we will send you a night build.
Re: EDatabaseError in 7.2.6
Posted: Thu 05 Apr 2018 16:38
by FredS
Thank you Viktor but I'm going to skip that.
Let me explain why you desperately need to change your patching.
When you send out a release we expect a certain amount of testing has gone into that, although judging from my reports since September that's questionable..
After I spend time updating and installing within a minute a bug appears and is reported. Then our only option is to take an overnight build, essentially untested code that may be in Beta state?
The right thing to do is to generate 7.2.6.1 from the original tested code, so that at the very least only bugs are fixed and no new features are added.
Re: EDatabaseError in 7.2.6
Posted: Fri 06 Apr 2018 06:43
by ViktorV
Thank you for the interest in our products.
UniDAC build with hot fix is planned for next week.
Re: EDatabaseError in 7.2.6
Posted: Mon 09 Apr 2018 06:26
by kneighbour
sigh...I have spent DAYS on this problem after the latest update. Should have looked here first, I guess. And I agree - "wait until next week" is not a good answer. All of my projects are now dead in the water. I cannot send anything to any of our customers until this (and the other problem) is fixed.
I have looked at rolling back, but I do not have a full backup of every version - and I also use IBDac and you have to have matching versions. It is not a simple thing to roll back as I then have to integrate with FastReports, etc.
What a mess....
Re: EDatabaseError in 7.2.6
Posted: Wed 11 Apr 2018 14:26
by ViktorV
The new UniDAC 7.2.7 with with hot fix for this issue is already available for download now.