View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002800 | JEDI VCL | 00 JVCL Components | public | 2005-03-25 08:08 | 2005-04-12 02:40 |
| Reporter | anonymous | Assigned To | obones | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.10 | ||||
| Target Version | Fixed in Version | 3.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. | ||||