eric-hawthorne / relish

Automatically exported from code.google.com/p/relish
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Error ensuring collection exists - collection-valued attribute #74

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Create a non-owned collection-valued attribute. That is, an attribute with a 
single value whose type is some kind of collection.

Try to += an element to it.

There is now an error, because the collectionType of the attribute is now "" 
instead of e.g. "list"

So we have to adjust the ensureCollection... method to not rely on the 
collectionType of the attribute but rather the List / Set etc supertype of the 
attribute.Part.Type  

Original issue reported on code.google.com by relis...@gmail.com on 6 Jul 2014 at 4:52