rem: this.log( "getItems_resp() ignored: " + errorToString(exc) ); 
add: this.logError( "getItems() ignored: " + errorToString(exc) ); 
context: calWcapCalendar.prototype.getItems = function(    itemFilter, maxResult, rangeStart, rangeEnd, listener ){    // assure DATETIMEs:    if (rangeStart != null && rangeStart.isDate) {        rangeStart = rangeStart.clone();        rangeStart.isDate = false;    }    if (rangeEnd != null && rangeEnd.isDate) {        rangeEnd = rangeEnd.clone();        rangeEnd.isDate = false;    }    var zRangeStart = getIcalUTC(rangeStart);    var zRangeEnd = getIcalUTC(rangeEnd);    this.log( "getItems():\n\titemFilter=" + itemFilter +              ",\n\tmaxResult=" + maxResult +              ",\n\trangeStart=" + zRangeStart +              ",\n\trangeEnd=" + zRangeEnd );    try {        var url = this.session.getCommandUrl( "fetchcomponents_by_range" );        url += ("&relativealarm=1&compressed=1&recurring=1" +                "&fmt-out=text%2Fcalendar&calid=" +                encodeURIComponent(this.calId));                // setting component-type, compstate filters:        url += getItemFilterUrlPortions(itemFilter);                if (maxResult > 0)            url += ("&maxResult=" + maxResult);        // xxx todo: correctly normalized dates to zulu time?        url += ("&dtstart=" + zRangeStart);        url += ("&dtend=" + zRangeEnd);                var this_ = this;        this.session.issueAsyncRequest(            url, stringToIcal,            function( wcapResponse ) {                this_.getItems_resp( wcapResponse,                                     itemFilter, maxResult,                                     rangeStart, rangeEnd, listener );            } );    }    catch (exc) {        if (listener != null) {            listener.onOperationComplete(                this.superCalendar, Components.results.NS_ERROR_FAILURE,                Components.interfaces.calIOperationListener.GET,                null, exc );        }        if (testResultCode(exc, Components.interfaces.                           calIWcapErrors.WCAP_LOGIN_FAILED)) {            // silently ignore login failed, no calIObserver UI:            this.log( "getItems_resp() ignored: " + errorToString(exc) );        }        else            this.notifyError( exc );    }    this.log( "getItems() returning." );};
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/50dafc0b163e0df2f1405b136de455ba89d9f671/calWcapCalendarItems.js/buggy/calendar/providers/wcap/calWcapCalendarItems.js