Oscar Manuel Gómez Senovilla escribió:
Oscar Manuel Gómez Senovilla escribió:
Paco Orozco pakusland@gmail.com escribió:
Hiya,
I’ve copied the three modified files from SVN to my 1.2.105 egw.
Now I’ve got the same error than last Adi Kriegisch (see below).
On my logs I’m seeing a session error, I think this session handler
error is associate with SQL error, because soinfolog::search is unable
to obtain info_owner value
I think there’s a serious bug in keeping (at least) the domain. I saw this
and reported long time ago, but it seems that a multidomain installation
triggers the error better than a one-domain installation (though I didn’t
test this in a one-domain and 1.2 recently). In my current test, being
logged in not with the default domain, I enter the url
(http://…/icalsrv.php/default.ics), I’m prompted for user and password
(which SHOULDN’T happen, since I’m logged in) and entering user (not
user@domain) and password, I get the sql error and when I go back to the
previous screen, I find I’ve been taken to another domain (I think because
the default domain is searched instead), possibly even logging out,
depending on if the user exists on both domains. It’s the second time I
reply because of this
I think I’ve found the solution for this, as a side effect of the work
in news_admin. In icalsrv.php, about line 138, I’ve replaced
$domain = $GLOBALS[‘egw_info’][‘server’][‘default_domain’];
with
$domain = $GLOBALS[‘egw_info’][‘user’][‘domain’];
and I can relocate the user in the started session back and forth.
I think this is better:
$GLOBALS['egw_info']['server']['default_domain']=$domain =
$GLOBALS[‘egw_info’][‘user’][‘domain’]
There’s also another bug that I think at least I’ve reduced (not sure if
fixed is too much): every time icalsrv.php is accessed, a new session is
created, regardless any existing sessions. In a moment I’ve reached over
40 sessions (which is not really true). To fix this, I’ve changed line
62 in icalsrv.php, setting ‘icalsrv’ instead of ‘login’ as currentapp,
and by the moment it seems to work.
Please review this. If you want me to commit this change, let me know.
Please keep reviewing.
Regards.
----------------------------------------------------------------------|
http://counter.li.org info: Linux user: 92390 - Linux machine: 39301 |
Oscar Manuel Gómez Senovilla - omgsATescomposlinux.org |
GPG Key at http://pgp.escomposlinux.org |
----------------------------------------------------------------------|
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers