[Incidencias #1994] NEW: I can not see the new iTip event created with 'viewevent.php'

bugs@bugs.horde.org bugs at bugs.horde.org
Wed May 18 11:07:29 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=1994
-----------------------------------------------------------------------
 Ticket             | 1994
 Created By         | scalero at datadec.es
 Summary            | I can not see the new iTip event created with 'viewevent.php'
 Queue              | Kronolith
 Version            | 2.0.3
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


scalero at datadec.es (2005-05-18 11:07) wrote:

I run FRAMEWORK3 with the following versions:
Horde      --> 3.0.4
Imp        --> 4.0.3
Kronolith  --> 2.0.3


When I receive a mail with a Itip invitation and create the event in my
personal calendar by means of the Itip MIME viewer, the UID of the event
created is the same of the event parent(itip content).

When I create the new event with the Itip MIME viewer appears a link "View
event" and opens a window loading 'viewevent.php' with only one parameter
--> 'uid'.  This error appears in my Apache log:
 
[Fri May 13 11:21:54 2005] [error] PHP Fatal error:  Call to a member
function on a non-object in /u01//horde/kronolith/viewevent.php on line 98

And I think this is a bug because 'viewevent.php' obtain the event in the
line 18 with:
 
$event = &$kronolith->getByUID($uid);
 
The problem is that this function makes a SELECT of kronolith_events by the
'uid' field and this field is not unique! This function can return the new
event created or the original iTip event  attached. In my case seems that
the function returns the original event.  And I have not permissions to view
this original or parent event! that causes the error in line 98 because the
'$event->getCalendar()' is not my own calendar.
 
 
I hope to have clarified something the things...

 
Sebastian Calero.




More information about the bugs mailing list