Mailinglist Archive: yast-devel (233 mails)

< Previous Next >
Re: [yast-devel] WebYaST Beta 3 released
  • From: Klaus Kaempf <kkaempf@xxxxxxx>
  • Date: Tue, 27 Oct 2009 10:24:24 +0100
  • Message-id: <20091027092424.GA1081@xxxxxxxxxxxxx>
* Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx> [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:
- 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.


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.

SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N├╝rnberg)

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >