| Previous · Next | |
| User | Message |
|
bernd
|
Date: 10/26/2008 3:34 am · Subject: Testing function of the UsersOnline macro fails in 7.6 · Rating: 0
This is more or less a note that I am aware of it and going (to attempt) to fix. The problem only exists in 7.6. Testing in 7.5 still works fine. The macro itself does not seem to be affected. The cause of failure is that users created in the testing function do not appear in the userSession table any longer. The code responsible for getting users in into the userSession table i t/Macro/UsersOnline.t WebGUI::Session::Var->new, again, calls WebGUI::Session::Var->start, which should make an entry in the database: lib/Session/Var.pm So far I have no idea why this does not work any longer. The db connection must be fine, since everything else does work. Doug has already suggested to have a look at WebGUI::Session::open, which I am going to do next. But maybe some of you can tell me straight what the problem is. Any help appreciated! Bernd -- |
| Back to Top |
Rate [ | ]
|
|
bernd
|
Date: 10/28/2008 7:47 am · Subject: Re: Testing function of the UsersOnline macro fails in 7.6 · Rating: 0
As it turned out yesterday, I was totally on the wrong track. I have learned from Graham that the userSession table is cleaned out immediately after termination of the testing process. In fact, sessions were all logged correctly but had been removed again at the time I was checking in the database. Still there is a flaw in the code and I am going to prepare a patch. Before, however, I need an additional profile field as described in this bug report. -- |
| Back to Top |
Rate [ | ]
|