[PATCH conductor] Fix undefined method `<=>' for :"fr-FR":Symbol

Matt Wagner matt.wagner at redhat.com
Fri Mar 9 16:25:19 UTC 2012


On Fri, Mar 09, 2012 at 03:06:11PM +0100, Imre Farkas wrote:
> There's no BZ for what it is intended to solve. I randomly get this
> error message but wasn't able to reproduce it consistently on its
> own. How I was able to reproduce is with the Quick Locale Swithcher
> Firefox extension. Set the locale to fr-FR on a new page then go to
> conductor.
> In this case for me env['HTTP_ACCEPT_LANGUAGE'] =
> "en-US,en;q=1.0,fr-FR,fr;q=0.8,en-us;q=0.5,en;q=0.3"
> The problem occurs during the sort call since the <=> operator is not
> defined for symbols.

It's interesting that this isn't happening consistently. I'd have
figured it would be all-or-nothing. Weird stuff.

> I discussed the problem and this quick fix with Jozef but since you
> are absolutely right in both assertions it may be worth creating a
> new BZ. You also can assign it to me if you want and I will take care
> of it.

I entered https://bugzilla.redhat.com/show_bug.cgi?id=801825but didn't
assign it to anyone yet. Feel free to take it if you'd like. I can take
a look at it if not, but I probably won't get to it today. 

-- Matt



More information about the aeolus-devel mailing list