New bug in 7.1.4 TMemData.ApplyUpdates
Posted: Sat 31 Dec 2011 15:14
In Line 7205 it write,
However, the OldCurrentItem, which can be nil, will cause AV exception and halt the apply update.
The old version do not have the if line.
I myself had changed the code to below to prevent the exception.
Just for your reference.
Code: Select all
if OldCurrentItem.Flag = flUsed then
CurrentItem := OldCurrentItem;The old version do not have the if line.
I myself had changed the code to below to prevent the exception.
Code: Select all
if (OldCurrentItem = nil) or (OldCurrentItem.Flag = flUsed) then
CurrentItem := OldCurrentItem;