ClientDataset Refreshrecord error

Hi
I've updated components XData to ver 5.5 and now i've a "classical" error Unable to find record or chahged by another user of client dataset attached on your TXDataset via Provider.
In the CDS i ve pfInKey set on the provider flags also in the TXDataset on the before open event :
procedure TDMX3.dstXAfterOpen(DataSet: TDataSet);
Var i:Word;
begin
For i:=0 To DataSet.FieldCount-1 Do Begin
If ContainsText(TXDataSet(DataSet).KeyFields,DataSet.Fields[i].FieldName) Then
DataSet.Fields[i].ProviderFlags:=DataSet.Fields[i].ProviderFlags + [pfInKey];
End;
end;

can you help me ?

Very hard to tell with provided information. What are the steps to reproduce? In what context does this happen? Does it happen all the time? If not, under which circumstance?

Before your xdata components updates all gone fine, now error ! I ve clientdataset + xdataset + datasetprovider on client side configured : Xdataset.keyfields = 'COD_PC;COD_PDV' , datasetprovider.updatemode = upWhereKeyOnly and clientdataset.Fields[i].providerflags[pfInKey] added for every key field.
This configuratione gone fine before now crash !!!
I think to downgrade xdata updates !

i reinstalled old versions and all go fine :
BusinessCoreLib_1.28, Aurelius_5.5, Sparkle_3.18, RemoteDB_2.13, XData_5.3.0.1