Rob, can you please verify that the admin part in the lates repo indeed works? (use facets 2.0.4 please) -g.
on 2007-11-05 11:48
on 2007-11-05 17:21
Preliminary trial says it's fixed. Which leads us to more fundamental and *critical* bug in Og core. Updates to many-to-many relations are broken. I spotted this a couple days ago, haven't had a chance to explore. I found it both using isTaggable and in my own many_to_many implementation of Post to Tag. I wanted to pull together a standalone og code snippet to reproduce it but haven't gotten to it. ERROR: Error while handling OgAdminController#save() ERROR: undefined method `remove' for []:Array /Users/rmela/nitro/branch/script/lib/../../og/lib/og/collection.rb:274:in `send' /Users/rmela/nitro/branch/script/lib/../../og/lib/og/collection.rb:274:in `method_missing' /Users/rmela/nitro/branch/script/lib/../../og/lib/og/collection.rb:134:in `<<' /Users/rmela/nitro/branch/script/lib/../../raw/lib/raw/util/attr.rb:111:in `populate_object' /Users/rmela/nitro/branch/script/lib/../../raw/lib/raw/util/attr.rb:108:in `each' /Users/rmela/nitro/branch/script/lib/../../raw/lib/raw/util/attr.rb:108:in `populate_object' /Users/rmela/nitro/branch/script/lib/../../raw/lib/raw/util/attr.rb:88:in `each' /Users/rmela/nitro/branch/script/lib/../../raw/lib/raw/util/attr.rb:88:in `populate_object' /Users/rmela/nitro/branch/script/lib/../../og/lib/og/model.rb:211:in `assign' /Users/rmela/nitro/branch/script/lib/../../nitro/lib/part/admin/og/controller.rb:97:in `save'