[kronolith] Trouble with attendees and invitations

Steve Teti steti at monmouth.com
Fri Jul 8 14:46:14 UTC 2011


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.

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?

My environment:
CentOS 5.6
Apache 2.2.3
PHP 5.3.3
kronolith 3.0.5-git
imp 5.0.9-git

Thanks,
Steve


More information about the kronolith mailing list