* Duncan Mac-Vicar Prett <[email protected]> [Oct 27. 2009 09:19]: > On Monday 26 October 2009 19:06:38 J. Daniel Schmidt wrote: > > On Monday 26 October 2009 17:51:16 Martin Vidner wrote: > > > KNOWN BUGS: > > > - See this query for a complete bug list: > > > > Registration raises an error (did not use the latest code). > > You can workaround this by applying the attached patch. > > > > > > Ciao, > > Daniel > > > > The right way to fix it would be first to update > plugins/registration/test/unit/registration_test.rb and reproduce the bug by > passing a non-Hash. Then add the safeguard code and make sure the test pass. > > Anyway, how that situation happens? that it receives data that is not a Hash? > > Another minor detail. I suggest you use obj.is_a?(MyClass) instead of > obj.class == MyClass
I fixed this yesterday and just pushed. Using kind_of? to make the test more liberate. Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
