CSVDataset failure
Original Reporter info from Mantis: wmeyer
-
Reporter name: William Meyer
Original Reporter info from Mantis: wmeyer
- Reporter name: William Meyer
Description:
I am new to Lazarus, but a long time Delphi dev. I have noticed a problem with the CSVDataset component, and have minimized the steps needed to reproduce.
CSVDataset in form designer easily crashes the IDE.
Steps to reproduce:
- Create a new GUI application
- Put a CSVDataset on the form.
- Select the CSVDataset
- In the Object Inspector, select a csv file. Mine has 5 columns, and maybe a thousand rows.
- Now set the CSVDataset.Active to true. Wait a few seconds for it to read the file.
- Now set the CSVDataset.Active to False.
In a few seconds, the IDE will crash. Simple and repeatable.
If I add a TDataSource and a VirtualDBGrid, and set Active in the OnFormCreate event, it works fine, reads the file, presents the data.
Mantis conversion info:
- Mantis ID: 38352
- OS: Windows 10 Pro 2H20
- OS Build: 64 bit
- Version: 2.0.10