View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020895 | Lazarus | LCL | public | 2011-12-14 09:20 | 2021-01-17 19:13 |
Reporter | Ludo Brands | Assigned To | Jesus Reyes | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 0.9.31 (SVN) | ||||
Summary | 0020895: DBGrid picklist selection sets wrong value when lookup dataset has duplicate value | ||||
Description | Using the test program attached to issue 0020841, selecting the second 'xxx' in the picklist for the NAME column in the dbgrid will update MasterID to 1 instead of 3. Problem is in TCustomDBGrid.UpdateData that does a edField.LookupDataSet.Locate or a edField.LookupList.FirstKeyByValue (when cached) using the value instead of the key. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 58686 | ||||
LazTarget | - | ||||
Widgetset | GTK 2, Win32/Win64 | ||||
Attached Files |
|
related to | 0020841 | closed | Luiz Americo | DBLookup* controls set wrong value when master dataset has a list field with the same value |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-12-14 09:20 | Ludo Brands | New Issue | |
2011-12-14 09:20 | Ludo Brands | Widgetset | => GTK 2, Win32/Win64 |
2012-03-13 08:24 | Zeljan Rikalo | Status | new => assigned |
2012-03-13 08:24 | Zeljan Rikalo | Assigned To | => Jesus Reyes |
2021-01-12 07:26 | Jesus Reyes | Relationship added | related to 0020841 |
2021-01-17 19:13 | Jesus Reyes | Status | assigned => resolved |
2021-01-17 19:13 | Jesus Reyes | Resolution | open => fixed |
2021-01-17 19:13 | Jesus Reyes | Fixed in Revision | => 58686 |
2021-01-17 19:13 | Jesus Reyes | LazTarget | => - |
2021-01-17 19:13 | Jesus Reyes | Widgetset | GTK 2, Win32/Win64 => GTK 2, Win32/Win64 |