From: Ralf B. <Ral...@di...> - 2006-12-29 13:36:35
|
Hi Oscar, maybe it's a good idea to put that mail also in the patch manager, as the other 2 patches for iCalServer. Ralf Oscar Manuel G=F3mez Senovilla schrieb: > Oscar Manuel G=F3mez Senovilla escribi=F3: >> Oscar Manuel G=F3mez Senovilla escribi=F3: >>>> Paco Orozco <pak...@gm...> escribi=F3:=20 >>>>> 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 una= ble >>>>> to obtain info_owner value >>>> I think there's a serious bug in keeping (at least) the domain. I sa= w this >>>> and reported long time ago, but it seems that a multidomain installa= tion >>>> triggers the error better than a one-domain installation (though I d= idn't >>>> test this in a one-domain and 1.2 recently). In my current test, bei= ng >>>> logged in not with the default domain, I enter the url >>>> (http://..../icalsrv.php/default.ics), I'm prompted for user and pas= sword >>>> (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 b= ecause >>>> the default domain is searched instead), possibly even logging out, >>>> depending on if the user exists on both domains. It's the second tim= e I >>>> reply because of this ;) >=20 >> 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 >=20 >> $domain =3D $GLOBALS['egw_info']['server']['default_domain']; >=20 >> with >=20 >> $domain =3D $GLOBALS['egw_info']['user']['domain']; >=20 >> and I can relocate the user in the started session back and forth. >=20 >=20 > I think this is better: >=20 > $GLOBALS['egw_info']['server']['default_domain']=3D$domain =3D > $GLOBALS['egw_info']['user']['domain'] >=20 >=20 > There's also another bug that I think at least I've reduced (not sure i= f > fixed is too much): every time icalsrv.php is accessed, a new session i= s > created, regardless any existing sessions. In a moment I've reached ove= r > 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. >=20 >> Please review this. If you want me to commit this change, let me know. >=20 > Please keep reviewing. >=20 >=20 > Regards. >=20 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share y= our opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ eGroupWare-developers mailing list eGr...@li... https://lists.sourceforge.net/lists/listinfo/egroupware-developers --=20 eGroupWare Training & Support =3D=3D> http://www.egroupware-support.de 1.2 Release Offer: 250Euro for a Standard Update or Installation including 1h Telefonsupport und ein gedrucktes deutsches Handbuch |