[Tickets #6043] Re: php-error on login page caused by lib/Horde/Share.php (kolab)

bugs at horde.org bugs at horde.org
Fri Feb 29 12:38:15 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://dev.horde.org/horde/whups/ticket/6043
-----------------------------------------------------------------------
 Ticket             | 6043
 Updated By         | m.gabriel at das-netzwerkteam.de
 Summary            | php-error on login page caused by lib/Horde/Share.php (kolab)
 Queue              | Kolab
 Type               | Bug
 State              | Feedback
 Priority           | 3. High
 Milestone          | 
 Patch              | 
 Owners             | Gunnar Wrobel
-----------------------------------------------------------------------


m.gabriel at das-netzwerkteam.de (2008-02-29 07:38) wrote:

hi gunnar,

> Hm, I'm not certain about this one.
>
> _shareMap is initialized as empty array in the class. So if you call 
> getShares with a set of ids, they should end up in $missing_ids.
>
> Now getShares() will try to fetch these missing shares. If it fails 
> there, since the share does not exist, it will return a PEAR error.
>
> So I don't think checking for an empty shareMap is really necessary.
>
> From what you post I get the impression that the _listShare() 
> function within Share/kolab.php is the culprit in this case. Can you 
> check what this function is returning when the sequence 
> listTaskLists() -> listShares() -> _listShares() (nag/lib/Nag.php -> 
> Share.php -> Share/kolab.php) gets executed? Thanks!

note: i am talking about pre-login stage. at this point IMAP auth fails in
__wakeup in class Horde_share_kolab.

_listShares() / Share/kolab.php is not reached without authentication.

mike



More information about the bugs mailing list