Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUGS: collection it can be behaved in unforeseeable way
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
BUGS: collection it can be behaved in unforeseeable way
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01018216
Message ID:
01018216
Vues:
42
Within a very Complex program, i have this Collection bugs,
they happen with a pseudo random frequency,
but if the program do the same cycle,
the occurrences are deterministic.
myCollection.GetKey() return .T.
myCollection.Item(existskey) return .T.
myCollection(existskey) return .T.
? myCollection.Remove(-1),myCollection.Count && output is .T.,104 ( or others not zero values )
I have found a workaround:
retry the operation another time
but i'm not sure that this is a sure workaround.

Result: Collection is not usable.

I try to reduce the application for a simple repro code;
a simple random test is not sufficient for a reproduction of the bugs.

Fabio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform