Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002800 [JEDI VCL] 00 JVCL Components minor always 2005-03-25 08:08 2005-04-12 02:40
Reporter anonymous View Status public  
Assigned To obones
Priority normal Resolution fixed  
Status resolved   Product Version 2.10
Summary 0002800: TJvMemoryData.LoadFromDataSet crashes with an empty inputfile
Description If TJvMemoryData.LoadFromDataSet is supplied with an empty inputfile, it crashes at the end when trying to go back to the original position in the inputfile.

The patch I use is (see line marked with BDR):

  finally
    // move back to where we started from
    if not Source.IsEmpty (*** BDR *)
    then if Source.BookmarkValid(SB) then
            begin
              Source.GotoBookmark(SB);
              Source.FreeBookmark(SB);
            end;
    if not SourceActive then
      Source.Close;
    Source.EnableControls;
    FSaveLoadState := slsNone;
  end;
Additional Information you can contact me at b.roovere@chello.nl
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006916)
obones (administrator)
2005-04-12 02:40

This is now fixed in CVS.

- Issue History
Date Modified Username Field Change
2005-03-25 08:08 anonymous New Issue
2005-04-12 02:40 obones Status new => resolved
2005-04-12 02:40 obones Resolution open => fixed
2005-04-12 02:40 obones Assigned To => obones
2005-04-12 02:40 obones Note Added: 0006916


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker