[kronolith] Trouble with attendees and invitations

Jan Schneider jan at horde.org
Sat Jul 16 17:10:50 UTC 2011


Zitat von Steve Teti <steti at monmouth.com>:

> I'm having two problems getting attendees and invitations working in  
> Kronolith.
>
> Problem 1: Invitations are not sent when a new event is created.
>
> Using the traditional interface, I add an attendee to a new event,  
> then save the event.  I have the checkbox "Send invitations to all  
> attendees" checked, but no invitations are sent.  I was able to get  
> this working by commenting out line 69 in kronolith/add.php:
>
> $event = Kronolith::getDriver()->getEvent($result);
>
> The variable $result is not referenced anywhere else in this file.  
> Since $event should already be set by earlier operations, I'm not  
> sure what the purpose of this line is.  Any insight would be  
> appreciated.

Fixed.

> Problem 2: Unable to update attendee responses
>
> I receive an email back from attendee with their response to the  
> invitation.  In Imp, I have a drop-down menu with one option,  
> "Update respondent status".  I select that option and click the "Go"  
> button, but I get the following popup error in Imp:
>
> There was an error updating the event: The attendee hasn't been  
> updated because the update was not sent from the attendee.
>
> Looking at the code in kronolith/lib/Api.php, this error is coming  
> from the updateAttendee function.  This function compares the email  
> address of the sender and the email address of the attendee, and  
> throws this error if they don't match.  According to my debug  
> output, $sender is "User Name <username at example.com>", while  
> $attendee is "username at example.com".  It seems like this could be  
> made more robust by only comparing the actual address portion of  
> $sender, but I'm not sure if there's a better way to fix this.  Any  
> ideas?

This only happened if the response was using vCalendar 1.0 which we  
didn't support so far. This has been fixed now.

In the future, please create tickets for bugs instead.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the kronolith mailing list