DBGrid raises exception when Dataset of Datasource changes
Original Reporter info from Mantis: Christian
-
Reporter name:
Original Reporter info from Mantis: Christian
- Reporter name:
Description:
When changing an Dataset of DataSource at runtime in Carbon and GTK2 Widgetsets the following Exception is raised.
This dont happens in Windows.
Steps to reproduce:
#0 fpc_raiseexception at :0
#1 TCUSTOMGRID__CHECKINDEX(true, 2, <error reading variable>) at grids.pas:4203
#2 TCUSTOMGRID__DOOPMOVECOLROW(true, 2, 2, <error reading variable>) at grids.pas:5006
#3 TGRIDCOLUMN__SETINDEX(1, <error reading variable>) at grids.pas:9844
#4 TDBGRIDCOLUMNS__RESETCOLUMNSORDER(COFIELDINDEXORDER, <error reading variable>) at dbgrids.pas:3252
#5 TCUSTOMDBGRID__ADDAUTOMATICCOLUMNS(<error reading variable>) at dbgrids.pas:1527
#6 TCUSTOMDBGRID__LAYOUTCHANGED(<error reading variable>) at dbgrids.pas:1646
#7 TCUSTOMDBGRID__LINKACTIVE(true, <error reading variable>) at dbgrids.pas:1632
#8 TCUSTOMDBGRID__ONNEWDATASET(0xa586bb4, <error reading variable>) at dbgrids.pas:850
#9 TCOMPONENTDATALINK__ACTIVECHANGED(<error reading variable>) at dbgrids.pas:3046
#10 DB_TDATALINK_$__CHECKACTIVEANDEDITING at :0
#11 ?? at :0
^here DataSource.DataSet := Something is done.
#12 ADDTAB(0xa482474, 0x9db0fec) at ufilterframe.pas:128
Mantis conversion info:
- Mantis ID: 16031
- Version: 0.9.28.3 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 24072 (#27045012)
- Target version: 0.9.30