|
From:
<ant...@he...> - 2006-01-21 22:07:26
|
We have a problem that occasionally we get this kind of error messages
in our log:
18:19:22 ERROR OI2.SESSION OpenInteract2::SessionManager (149) No value
returned from _create_session; this shouldn't happen...
The mentioned _create_session is called at row 141 of
OpenInteract2::SessionManager:
my $new_session = $class->_create_session;
By looking at the implementations of _create_session in the subclasses
of OpenInteract2::SessionManager, it seems to me that _create_session is
no supposed to be called without parameters.
Now I would fix this but I'm not quite sure how ;)
It seems that this call happens when CTX->request->session contains a
hashref which is not tied. I'm not sure how we can end up in this kind
of a situation and I don't know a way to replicate the bug we are
getting, so I don't know how (if at all) I could add the needed
parameters to the _create_session-call.
Would somebody happen to have an idea of what might cause an untied
hashref session and what would that hashref contain when this happens?
- Antti
|