Icon View Incident Report

Minor Minor
Reported By: Marcin
Reported On: 9/16/2008
For: Version 2.01 Build 5
# 2796 FreeNotification Not Being Removed Properly for Destroyed TEDBDatabase Components

There is one small thing that I would like to point because it may be an error when you reuse database component with multiple sessions:

file: edbcomps.pas
method: TEDBDatabase.CheckSessionName

  if (NewSession <> nil) and (NewSession <> FSession) then
     begin
     if (FSession <> nil) then begin
        FSession.RemoveDatabase(Self);
        FSession.RemoveFreeNotification(Self);  <- this line should be added
to pair with this line | below
     end;                                                                                                                          |
     FSession:=NewSession;                                                            
     FSession.FreeNotification(Self); <--------| 
     FSession.AddDatabase(Self);
     end;



Resolution Resolution
Fixed Problem on 9/16/2008 in version 2.02 build 1


Products Affected Products Affected
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image