rem: this.mSelectItem.params.id = aID; this.mSelectItem.params.cal_id = this.mCalId; if (!this.mSelectItem.step()) {  return null; 
add: var flags = {}; var item = null;   this.mSelectEvent.params.id = aID; if (this.mSelectEvent.step()) item = this.getEventFromRow(this.mSelectEvent.row, flags); this.mSelectEvent.reset();   if (!item) { this.mSelectTodo.params.id = aID; if (this.mSelectTodo.step()) item = this.getTodoFromRow(this.mSelectTodo.row, flags); this.mSelectTodo.reset(); 
context:     getItemById: function (aID) {        // cached?        if (this.mItemCache[aID] != null)            return this.mItemCache[aID];        var retval = null;        // not cached; need to read from the db        this.mSelectItem.params.id = aID;        this.mSelectItem.params.cal_id = this.mCalId;        if (!this.mSelectItem.step()) {            // not found            return null;        }        var flags = {};        var item = this.getItemFromRow(this.mSelectItem.row, flags);        this.mSelectItem.reset();        this.getAdditionalDataForItem(item, flags.value);        item.makeImmutable();        // cache it        this.mItemCache[aID] = item;        return item;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/415397e217845a7b2b45516db1161c99c9ea7f4e/calStorageCalendar.js/buggy/calendar/providers/storage/calStorageCalendar.js