id,summary,reporter,owner,description,type,status,priority,milestone,resolution,cc,sprint 60,addLink creates a new Set for unloaded collections.,jamoore,jamoore,"If a collection is unloaded ( Object.typeLinks ) and a new item is linked (e.g. Project.addDataset( dataset ) ), then the addTYPE method initializes the typeLinks set to new HashSet(); This will thoroughly confuse the backend. This needs to either: 1. Throw an exception. 1. Intialize the field and set it to ""filtered"". The backend will need to be changed to find the new member. ---- In resurrect, this was leading to the ""only one addable user"" bug. Basically doing, {{{ for ( User user : users ) { group = server.getGroup() user.linkGroup( group ) server.save( user ) } }}} would only store the last user, because the serialized version of group from the server had a nulled out users (Experimenters) java.util.Set. Originally : http://bugs.openmicroscopy.org.uk/show_bug.cgi?id=666",bug,closed,critical,3.0-M2,fixed,cxallan,