rem: if (this.mAttendees) { for (var i = 0; i < this.mAttendees.length; i++) icalcomp.addProperty(this.mAttendees[i].icalProperty); 
add: var attendees = this.getAttendees({}); if (attendees.length > 0) { for (var i = 0; i < attendees.length; i++) { icalcomp.addProperty(attendees[i].icalProperty); } 
context:     fillIcalComponentFromBase: function (icalcomp) {        // Make sure that the LMT and ST are updated        this.updateStampTime();        this.ensureNotDirty();        this.mapPropsToICS(icalcomp, this.icsBasePropMap);        if (this.mOrganizer)            icalcomp.addProperty(this.mOrganizer.icalProperty);        if (this.mAttendees) {            for (var i = 0; i < this.mAttendees.length; i++)                icalcomp.addProperty(this.mAttendees[i].icalProperty);        }        if (this.mGeneration) {            var genprop = icalProp("X-MOZILLA-GENERATION");            genprop.value = String(this.mGeneration);            icalcomp.addProperty(genprop);        }        if (this.mRecurrenceInfo) {            var ritems = this.mRecurrenceInfo.getRecurrenceItems({});            for (i in ritems) {                icalcomp.addProperty(ritems[i].icalProperty);            }        }                if (this.alarmOffset) {            const icssvc = Components.classes["@mozilla.org/calendar/ics-service;1"]                                     .getService(Components.interfaces.calIICSService);            var alarmComp = icssvc.createIcalComponent("VALARM");            var triggerProp = icssvc.createIcalProperty("TRIGGER");            triggerProp.valueAsIcalString = this.alarmOffset.icalString;            if (this.alarmRelated == Components.interfaces.calIItemBase.ALARM_RELATED_END)                triggerProp.setParameter("RELATED", "END");            alarmComp.addProperty(triggerProp);            if (this.alarmLastAck) {                var lastAck = icssvc.createIcalProperty("X-MOZ-LASTACK");                lastAck.valueAsIcalString = this.alarmLastAck.icalString;                alarmComp.addProperty(lastAck);            }            // We don't use this, but the ics-spec requires it            var descProp = icssvc.createIcalProperty("DESCRIPTION");            descProp.value = "Mozilla Alarm: "+ this.title;            alarmComp.addProperty(descProp);            var actionProp = icssvc.createIcalProperty("ACTION");            actionProp.value = "DISPLAY";            if (this.getProperty("alarmEmailAddress")) {                var emailProp = icssvc.createIcalProperty("X-EMAILADDRESS");                emailProp.value = this.getProperty("alarmEmailAddress");                actionProp.value = "EMAIL";                alarmComp.addProperty(emailProp);            }            alarmComp.addProperty(actionProp);            icalcomp.addSubcomponent(alarmComp);        }    },
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/4716aa4d176efd74794fe987bc45e424cf62a747/calItemBase.js/buggy/calendar/base/src/calItemBase.js