Bug in TDADataTableRules?

delphi
(Filip Lagrou) #1

While creating a descendant of TDADataTableRules I noticed a (possible) bug in the code.

Line 6120
function TDADataTableRules.GetDetails(Index: integer): TDADataTable;
begin
result := TDADataTable(fDetails[Index])
end;

I think that converting a string (fDetails is a TStringList) into a TDADataTable needs a bit more magic :smile:
My guess is that result = TDADataTable(fDetails.Objects[Index]) would give a better result.

Regards,

Filip.

Using Delphi 10.2.2 - RODA 9.6.112

(RemObjects) #2

Thanks, logged as bugs://82606

(RemObjects) #3

Thanks, logged as bugs://82607

(RemObjects) #4

bugs://82606 got closed with status fixed.