[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 10:58:58 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 | Gunnar Wrobel <p at rdus.de>
Summary | php-error on login page caused by lib/Horde/Share.php (kolab)
Queue | Kolab
Type | Bug
-State | Assigned
+State | Feedback
Priority | 3. High
Milestone |
Patch |
Owners | Gunnar Wrobel
-----------------------------------------------------------------------
Gunnar Wrobel <p at rdus.de> (2008-02-29 05:58) wrote:
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!
More information about the bugs
mailing list