TDataset.SetFieldValues fails with fields that deal with a variant array as their data type
Original Reporter info from Mantis: Stephano
-
Reporter name:
Original Reporter info from Mantis: Stephano
- Reporter name:
Description:
The current implementation of TDataset.SetFieldValues automatically assumes if there is a variant array being passed in that it strictly pertains to a single value for each column included in the Fieldname spec, which can be a delimited list of multiple names. However, this assumption shouldn't be made. All facts should be gathered first and then a complete solution should be implemented in accordance with all possibilities. It should also be sensitive to the fact that array dimensions are not always zero based.
Patch for FPC 2.7.1 is attached.
Pls backport to 2.6 fixes if possible.
Mantis conversion info:
- Mantis ID: 25091
- Version: 2.7.1
- Fixed in version: 2.6.4
- Fixed in revision: 26661 (#7afd5f6a)
- Target version: 3.0.0