From: <tr...@eg...> - 2008-04-14 13:28:39
|
<html> <body> <table cellspacing="2" cellpadding="0" border="0" width="100%"> <tr style="background-color: #D3DCE3;;"><td style="font-weight:bold;font-size:medium;">New ticket submitted by Jean-Charles Passard at 2008/04/14 14:57</td></tr> <tr style="background-color: #F1F1F1;"><td style="font-size:medium;">You can respond by visiting: <a href="http://www.egroupware.org/patches&tr_id=1516" target="_blank">http://www.egroupware.org/patches&tr_id=1516</a></td></tr> <tr style="background-color: #FFFFF1;"><td style="font-size:small;">Tracking System: Patches</td></tr> <tr style="background-color: #FFFFF1;"><td style="font-size:small;">Category: EmailAdmin</td></tr> <tr style="background-color: #FFFFF1;"><td style="font-size:small;">Version: Version 1.4.002</td></tr> <tr style="background-color: #FFFFF1;"><td style="font-size:small;">Status: Open</td></tr> <tr style="background-color: #FFFFF1;"><td style="font-size:small;">Resolution: None</td></tr> <tr style="background-color: #FFFFF1;"><td style="font-size:small;">Completed: 0%</td></tr> <tr style="background-color: #FFFFF1;"><td style="font-size:small;">Priority: 5 - medium</td></tr> <tr style="background-color: #FFFFF1;"><td style="font-size:small;">Created By: Jean-Charles Passard</td></tr> <tr style="background-color: #FFFFF1;"><td style="font-size:small;">Assigned to: Klaus Leithoff</td></tr> <tr style="background-color: #F1F1F1;"><td style="font-weight:bold;font-size:medium;">Summary: #1516 - Error Pear when imap server is defaultimap in email settings in Admin</td></tr> <tr style="background-color: #FFFFF1;"><td style="font-size:medium;">1.4.003 :<br /> <br /> When imap is set to default imap and server is "courier" then getUserData can't work. getUserData in class.defaultimap.inc.php always call openConnection as admin user and it looks like it's true only with cyrus.<br /> It in relation with bugs #408<br /> <br /> <br /> then I make this modification :<br /> <br /> --- ../../../egroupware/emailadmin/inc/class.defaultimap.inc.php 2007-09-24 12:59:56.000000000 +0200<br /> +++ ../inc/class.defaultimap.inc.php 2008-04-14 14:32:56.000000000 +0200<br /> @@ -401,7 +401,11 @@<br /> */<br /> function getUserData($_username)<br /> {<br /> - $this->openConnection(true);<br /> + if ($this->enableCyrusAdmin) {<br /> + $this->openConnection(true);<br /> + } else {<br /> + $this->openConnection();<br /> + }<br /> <br /> $userData = array();<br /> <br /> <br /> <br /> If I have some more time I will look further to make a class.courierimap.inc.php.</td></tr> </table> </body> </html> |