View Issue Details

IDProjectCategoryView StatusLast Update
0016031LazarusLCLpublic2010-03-17 23:46
ReporterChristian Assigned ToJesus Reyes  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.9.28.3 (SVN) 
Target Version0.9.30Fixed in Version0.9.29 (SVN) 
Summary0016031: DBGrid raises exception when Dataset of Datasource changes
DescriptionWhen 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
0000001 TCUSTOMGRID__CHECKINDEX(true, 2, <error reading variable>) at grids.pas:4203
0000002 TCUSTOMGRID__DOOPMOVECOLROW(true, 2, 2, <error reading variable>) at grids.pas:5006
0000003 TGRIDCOLUMN__SETINDEX(1, <error reading variable>) at grids.pas:9844
0000004 TDBGRIDCOLUMNS__RESETCOLUMNSORDER(COFIELDINDEXORDER, <error reading variable>) at dbgrids.pas:3252
0000005 TCUSTOMDBGRID__ADDAUTOMATICCOLUMNS(<error reading variable>) at dbgrids.pas:1527
0000006 TCUSTOMDBGRID__LAYOUTCHANGED(<error reading variable>) at dbgrids.pas:1646
0000007 TCUSTOMDBGRID__LINKACTIVE(true, <error reading variable>) at dbgrids.pas:1632
0000008 TCUSTOMDBGRID__ONNEWDATASET(0xa586bb4, <error reading variable>) at dbgrids.pas:850
0000009 TCOMPONENTDATALINK__ACTIVECHANGED(<error reading variable>) at dbgrids.pas:3046
0000010 DB_TDATALINK_$__CHECKACTIVEANDEDITING at :0
0000011 ?? at :0

^here DataSource.DataSet := Something is done.
0000012 ADDTAB(0xa482474, 0x9db0fec) at ufilterframe.pas:128
TagsNo tags attached.
Fixed in Revision24072
LazTarget0.9.30
WidgetsetGTK 2, Carbon
Attached Files

Activities

Christian

2010-03-17 23:46

reporter   ~0035733

Great work Jesus, real nice and fast reaction thanks.

Issue History

Date Modified Username Field Change
2010-03-17 21:23 Christian New Issue
2010-03-17 21:23 Christian Widgetset => GTK 2, Carbon
2010-03-17 21:46 Jesus Reyes Status new => assigned
2010-03-17 21:46 Jesus Reyes Assigned To => Jesus Reyes
2010-03-17 22:03 Jesus Reyes Fixed in Revision => 24072
2010-03-17 22:03 Jesus Reyes LazTarget => 0.9.30
2010-03-17 22:03 Jesus Reyes Status assigned => resolved
2010-03-17 22:03 Jesus Reyes Fixed in Version => 0.9.29 (SVN)
2010-03-17 22:03 Jesus Reyes Resolution open => fixed
2010-03-17 22:04 Jesus Reyes Target Version => 0.9.30
2010-03-17 23:46 Christian Status resolved => closed
2010-03-17 23:46 Christian Note Added: 0035733