Bug 43084

GemStone/S 64 Bit

3.1.0.6, 3.1.0.5, 3.1.0.4, 3.1.0.3, 3.1.0.2, 3.1.0.1, 3.1, 3.0.1, 3.0

3.2

Invalid add to indexed collection results in incorrect error

Attempting to add an element to an equality indexed collection, where the element being added does not conform to the restrictions of the lastElementClass specified by the index, results in an error.

However, the incorrect error was being signaled. The error being triggered was error 2010, a MessageNotUnderstood,"a SmallInteger does not understand  #'signal'".  The appropriate error should be error 2300, "Attempt to insert a key into the B-tree that was an invalid class for which the B-tree was created".


                

Last updated: 8/12/14