Product Information > Version 7.1 Release Information > Upgrading to JADE Release 7.1 > Detecting a Collection Object with Multiple Keys (PAR 61172)

Detecting a Collection Object with Multiple Keys (PAR 61172)

In earlier releases, the JADE Logical Certifier did not detect if a collection contained an object multiple times, where the keys for one entry were valid and the keys for the other entries were not valid; that is, it was still possible to locate the entry using the includes statement.

The JADE Logical Certifier now detects if an object is in a MemberKeyDictionary multiple times, where the keys for one entry were valid and the keys for the other entries were not valid. The existing user data error 3 has been renamed 3A (Object was found via foreach relatedObj in coll but not via coll.includes(relatedObj)) and a new user data error 3B (Object was found in the collection multiple times with valid and invalid keys) is provided. The repair is rebuild coll; that is, if the object has an invalid key path, it is your responsibility to repair the error yourself.