Community
Participate
Working Groups
In InferredType a hash map is used to keep track of all of the attributes. in #addAttribute is where new attributes are added to this map. Currently all attributes are being added with a key of "name" which is the name of the InferredType the attribute is being added to. In reality the key should be "newAttribute.name". Because of this mistake when using #findAttribute it never finds an attribute you are looking for because the only key in the HashMap is the type name instead of all of the attribute names.
Created attachment 185086 [details] Fix Patch Fixes the key used to add attributes tot he attributes hash table. All existing JUnits pass.
Checked into 3.2.3 and HEAD.