Actually, that wasn't the bug, but it was a good change to make anyway. :-)
I'll look into it. On Mar 2, 2012, at 3:15 PM, Aparajita Fishman wrote: >> Someone can tell me why i get those errors when I do: >> >> Active4D error >> Source Method Line >> /Users/Lacky/Desktop/LiSa/LiSa.4dbase/web/index.a4d [main] 122 >> [text block] RowSet.newFromSelection 2 >> [text block] RowSet.newFromCachedSelection 1 >> [text block] RowSet._new 37 >> [text block] RowSet.clearPersistent 5 >> deep clear collection($rs) >> Array index out of bounds (1) > > It's a bug in clearPersistent. Change lines 1348-1352 from: > > $rs := self{"_persistent"}{$inName} > > // If it doesn't exist, $rs will be an empty string instead of a collection > reference > if (type($rs) # 2) // Is Text > deep clear collection($rs) > > to: > > if (collection has(self{"_persistent"}; $inName)) > deep clear collection(self{"_persistent"}{$inName}) > > Merci bien! > > Amicalement, > > - Aparajita > Regards, Aparajita _______________________________________________ Active4D-dev mailing list Active4D-dev@aparajitaworld.com http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/