View Issue Details

IDProjectCategoryView StatusLast Update
0037737pas2jsrtlpublic2020-09-12 09:53
Reporterhenrique Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformPas2JsOSWindows 
Fixed in Versiontrunk 
Summary0037737: Problem adding fields
DescriptionWhen a DataSet has the fields added in Design, it is not being added to the DataSet, because it is in a loading state
TagsNo tags attached.
Fixed in Revision870
Attached Files

Activities

henrique

2020-09-11 21:16

reporter  

DataSet.patch (218 bytes)   
diff -r packages/fcl-db/db.pas (Index) packages/fcl-db/db.pas (Working Tree)
5832,5833c5832
<   if not (csLoading in ComponentState) then
<     DataSet := Value as TDataSet;
---
>   DataSet := Value as TDataSet;
DataSet.patch (218 bytes)   

Michael Van Canneyt

2020-09-12 09:53

administrator   ~0125499

I'm not 100% sure about this one, the code comes from FPC and it works in Lazarus.
So I simply commented the If() statement.

Issue History

Date Modified Username Field Change
2020-09-11 21:16 henrique New Issue
2020-09-11 21:16 henrique File Added: DataSet.patch
2020-09-12 09:53 Michael Van Canneyt Assigned To => Michael Van Canneyt
2020-09-12 09:53 Michael Van Canneyt Status new => resolved
2020-09-12 09:53 Michael Van Canneyt Resolution open => fixed
2020-09-12 09:53 Michael Van Canneyt Fixed in Version => trunk
2020-09-12 09:53 Michael Van Canneyt Fixed in Revision => 870
2020-09-12 09:53 Michael Van Canneyt Note Added: 0125499