Persistent TField objects do not work with the Data Access palette related components
Original Reporter info from Mantis: Marcelo B Paula @mbpaula
-
Reporter name: Marcelo B Paula
Original Reporter info from Mantis: Marcelo B Paula @mbpaula
- Reporter name: Marcelo B Paula
Description:
Although its possible to add persistent TField object, at design time, within components such as TBufDataSet, TSDFDataset... they don´t work at runtime. It seems some memory allocation problem, since a SIGSEV always is issued.
Additional information:
Passes to reproduce:
- Create a new project and save it to disk.
- Drop a TBufDataSet, a TDataSource, a TDBGrid, a TButton to form.
- Connect the data-aware components.
- Right-click TBufDataSet and add some new fields (INS).
- On TButton event OnClick, add:
Bufdataset1.CreateDataSet;
Bufdataset1.Open;
Bufdataset1.Insert;
- Try to enter some data in DBGrid
- You will see that Fields do not retain any data
- If you defined an Integer field, you will see that after typing any data and leave the field, it gets poluted with garbage.
- Trying to close the application, raises a SIGSEV error.
Mantis conversion info:
- Mantis ID: 16967
- Fixed in version: 3.0.0
- Target version: 2.6.1