Summary | Calendar display problem when using shared calendars |
Queue | Kronolith |
Queue Version | FRAMEWORK_3 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | stuart (at) |
Requester | taco (at) scheltema (dot) org |
Created | 07/27/2005 (7293 days ago) |
Due | |
Updated | 01/17/2011 (5293 days ago) |
Assigned | 11/28/2005 (7169 days ago) |
Resolved | 11/28/2005 (7169 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
I will have a few local users test it a bit more, I'll post back here
in a week or so to let you know if all went well.
Again, thanks very much for all your effort!
Thanks for the efford so far! :)
State ⇒ Feedback
http://cvs.horde.org/co.php/framework/Kolab/Kolab.php?r=1.26.10.9&p=1
It works fine from now.
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.
Assigned to stuart
I am using Kolab 2.0rc4 which is running on a separate server.
Calendars, mail, notes and tasks are working fine when not shared, as
soon as I share a calendar the problem occurs.
I'm not sure if this also happens with shared notes/tasks, I will test
this tomorrow.
State ⇒ Feedback
calendar it will actually display a full calendar without errors, but
no calendar items are displayed.
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Calendar display problem when using shared calendars
Queue ⇒ Kronolith
State ⇒ Unconfirmed
In the calendar view, the following error is displayed when in 'My
Calendars' a local and a remote calendar is enabled;
Fatal error: Call to a member function on a non-object in
/usr/lib/php/Horde/Kolab.php on line 261
this also happens when 2 remote calendars are enabled
this error does not show up when only 2 local calendars are enabled.