6.0.0-beta1
7/15/25

[#2343] Calendar display problem when using shared calendars
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

History
11/28/2005 11:01:39 PM Jan Schneider Comment #10
State ⇒ Resolved
Reply to this comment
Great. Just add a comment if you find this not working.
11/28/2005 10:53:09 PM taco (at) scheltema (dot) org Comment #9 Reply to this comment
I just tested it, it all seems to work fine now!

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!
11/28/2005 12:38:44 PM taco (at) scheltema (dot) org Comment #8 Reply to this comment
I'll try it first thing tomorrow, I'll post my findings here.

Thanks for the efford so far! :)
11/28/2005 12:28:02 PM Jan Schneider Comment #7
State ⇒ Feedback
Reply to this comment
taco, can you confirm this?
11/28/2005 11:59:29 AM ega (at) atolcd (dot) com Comment #6 Reply to this comment
I've just test the CVS version of the Kolab.php file here : 
http://cvs.horde.org/co.php/framework/Kolab/Kolab.php?r=1.26.10.9&p=1



It works fine from now.
07/28/2005 12:23:09 AM taco (at) scheltema (dot) org Comment #5 Reply to this comment
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.
07/27/2005 01:26:22 PM Jan Schneider State ⇒ Assigned
Assigned to stuart
 
07/27/2005 01:21:56 PM taco (at) scheltema (dot) org Comment #4 Reply to this comment
Yes, I am.

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.
07/27/2005 12:12:09 PM Jan Schneider Comment #3
State ⇒ Feedback
Reply to this comment
Are you actually using Kolab as a backend for your local calendars?
07/27/2005 10:23:05 AM taco (at) scheltema (dot) org Comment #2 Reply to this comment
In addition to the problem before; if I only select one remote 
calendar it will actually display a full calendar without errors, but 
no calendar items are displayed.


07/27/2005 07:04:20 AM taco (at) scheltema (dot) org Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Calendar display problem when using shared calendars
Queue ⇒ Kronolith
State ⇒ Unconfirmed
Reply to this comment
I'm using kronolith-FRAMEWORK_3-2005-07-26



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.

Saved Queries