[Tickets #2343] Calendar display problem when using shared calendars

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Jul 27 17:23:10 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2343
-----------------------------------------------------------------------
 Ticket             | 2343
 Updated By         | taco at scheltema.org
 Summary            | Calendar display problem when using shared calendars
 Queue              | Kronolith
 Version            | FRAMEWORK_3
 State              | Assigned
 Priority           | 2. Medium
 Type               | Bug
 Owners             | Stuart Bingë
-----------------------------------------------------------------------


taco at scheltema.org (2005-07-27 17:23) wrote:

Some additional info:

the horde server is a gentoo machine running
apache 2.0.54-r1
mod_php-4.4.0

horde versions:
horde-FRAMEWORK_3-2005-07-21
framework-FRAMEWORK_3-2005-07-26
imp-FRAMEWORK_3-2005-07-21
turba-FRAMEWORK_3-2005-07-21
kronolith-FRAMEWORK_3-2005-07-26
mnemo-FRAMEWORK_3-2005-07-26
nag-FRAMEWORK_3-2005-07-26

I've tested the following:
I start with 2 users, nothing shared and only their own calendar, notes,
tasks enabled in the 'show lists' dropdown box, everything works fine.
the same 2 users, user 1 shares his notes, user 2 enables his own notes and
the notes of user 1 in the 'show notes' dropdown box, this throws a white
page with this error:
 Fatal error: Call to a member function on a non-object in
/usr/lib/php/Horde/Kolab.php on line 1485
I fiddled around a bit to see where the problem might be, I discovered that
when, logged in as user 1, give access to a user using the 'permissions'
button but don't click the 'change' button afterwards, permissions are only
set in horde itself and not on the imap server. In this case user 2 can
actually have notes of both users on the notes page, no errors show up.
if I, logged in as user 1, set permissions using the 'permissions' button
and after that hit the 'change' button, these messages will show:
 Horde/Kolab: Successfully synchronised notepad "Notes"
 The notepad "Notes" has been saved.
this seems correct behaviour, but user 2 will then see this error:
Fatal error: Call to a member function on a non-object in
/usr/lib/php/Horde/Kolab.php on line 1485
the same happens when setting permissions on a calendar.
but when sharing a calendar I can never get a local and a remote calendar to
be shown at the same time, with and without imap permissions set (I tried
setting and removing them manually with cyradm on the kolab server). when,
being user 2, trying to display a calendar from user 1 and my own calendar,
the following error shows:
Fatal error: Call to a member function on a non-object in
/usr/lib/php/Horde/Kolab.php on line 261
in this case no calendar is shown on the page, not even a blank one.
when I select only user 1's calendar in the 'My Calendars' I can see a blank
calendar but no events from user 1 are shown (of course I double checked to
see if there were any events in user 1's calendar... that is the case ;)
I also tried setting and removing permissions on the INBOX/Calendar mailbox
on the kolab server manually but in all cases it showed the same behaviour.

in short: notes and tasks seem to work fine when shared as long as the
permissions on the imap server are not set.
tasks on shared calendars won't show at all with or without permissions set
on the imap server and displaying a local and a remote calendar at the same
time doesn't work at all.

I hope this will give a bit more insight in these problems, don't hesitate
to ask if you need more info.




More information about the bugs mailing list