[imp] bug viewing an icalendar response

Benoit St-Andre ben at benoitst-andre.net
Sun Nov 23 10:47:58 PST 2003


Hi everyone

There seems to be a problem viewing an icalendar (.ics) file in IMP (cvs 
HEAD).

Whatever is the response of the attendee (either ACCEPTED, TENTATIVE or 
DECLINED), the mime viewer in IMP doesn't seem to care...

The viewer used is imp/lib/MIME/Viewer/itip.php , there seems to be info about 
that , those three cases and more, but I'm not sufficiently aware of how it 
works to debug it.

Maybe because, line 154, the two cases 'accept' and 'deny' are not defined ? 
(really not sure, just looking for clues...)
            case 'accept':
            case 'deny':
            case 'tentative':
                // vEvent request
                if (array_key_exists($key, $components) && 
$components[$key]->getType() == 'vEvent') {
                    $vEvent = $components[$key];.....

Thanks
-- 
Benoit St-André
Conseiller pédagogique à la CS des Affluents
Connaissez-vous Linuxédu-Québec ? http://linuxeduquebec.org
ben at benoitst-andre.net



More information about the imp mailing list