[Nitro] Admin part.
Robert Mela
rob at robmela.com
Mon Nov 5 10:15:13 EST 2007
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'
George Moschovitis wrote:
> Rob,
>
> can you please verify that the admin part in the lates repo indeed
> works? (use facets 2.0.4 please)
>
> -g.
>
> --
> http://me.gr
> http://joy.gr <http://joy.gr>
> http://cull.gr
> http://nitroproject.org
> http://phidz.com
> http://joyerz.com
> ------------------------------------------------------------------------
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rob.vcf
Type: text/x-vcard
Size: 116 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20071105/390bcfe4/attachment.vcf
More information about the Nitro-general
mailing list