Class TFastMM_FreedObject is not a valid Entity. [Entitiy] attribute missing

In testing project with 3 classes, with no automap .
I have 2 Proxy<Tlist> in the one master class and constructor/destructor with SetInitialValue/DestroyValue.
I am trying to remove a child object with:
manager.Remove(tim.lines.Items[0]);
and I am getting the following message:
Project raised exception class EInvalidEntity with message 'Class TFastMM_FreedObject is not a valid Entity. [Entitiy] attribute missing'

The tim.lines is declared as:
[ManyValuedAssociation([TAssociationProp.Lazy], CascadeTypeAllRemoveOrphan,'Ftimol')]
Flines:proxy<TList>;
.....
property lines:TList read Getlines;
....
function Ttim.gettaxes: TList;
begin result:=Ftaxes.Value; end;

FastMM5 is used in debug mode. Any ideas?

I found that removing the item from the list just does the job and it does not need anything else except the flush after that.
beautiful!

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.