Mailinglist Archive: yast-devel (152 mails)

< Previous Next >
Re: [yast-devel] ActionController::Session::CookieStore::CookieOverflow
  • From: Ladislav Slezak <lslezak@xxxxxxx>
  • Date: Mon, 13 Jul 2009 15:18:42 +0200
  • Message-id: <4A5B3432.5020207@xxxxxxx>
Ladislav Slezak napsal(a):

h = Hash.from_xml(net_error.response.body)["error"]
(rdb:2) net_error
#<ActiveResource::UnauthorizedAccess: Failed with 401 Unauthorized >
(rdb:2) net_error.response.body
"HTTP Basic: Access denied.\n"

Apparently the hash cannot be created from plain error message, an XML string
is
expected.

I have fixed that in GIT, now the plain error message is returned when
NoMethodError
is caught during xml parsing.

Now it works for me, the control panel is displayed after logging in.

But there is an error ("HTTP Basic: Access denied.") on the top of the page.

Any idea what's wrong?

--

Best Regards

Ladislav Slez√°k
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >