Mailinglist Archive: opensuse-buildservice (339 mails)

< Previous Next >
Re: [opensuse-buildservice] Using OBS from svn trunc with rails 2.0
  • From: Marcus Rueckert <darix@xxxxxxxxx>
  • Date: Mon, 3 Mar 2008 13:19:33 +0100
  • Message-id: <20080303121933.GQ31080@xxxxxxxxxxxxxxxxxxxxxxx>
On 2008-03-03 10:58:12 +0100, Martin Mohring wrote:
Going through the logfiles and seeing the error:

"errorcode 'uncaught_exception' -
CGI::Session::CookieStore::TamperedWithCookie"

inspired me to try to solve the problem by removing the osc cookie file:

$ rm ~/.osc_cookiejar

And it worked. So the new OBS doesnt want to work with the old cookies
somehow? Is that intended?

in rails 2 the default cookie store changed from pstore to cookie store.
the format of the cookie is different since then, so rails failed to
parse your old cookie as new cookie.

to get back the old behavior:

inside the do/end block of "Rails::Initializer.run do |config|"
you add "config.action_controller.session_store = :p_store"
to get the old cookie store.

darix

--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups