rem: var calendarID = this.findCalendarID(calendar); 
add: var calendarID = calendar.id; 
context:     setCalendarPref: function(calendar, name, value) {        // pref names must be lower case        name = name.toLowerCase();        var calendarID = this.findCalendarID(calendar);        this.mDB.beginTransaction();        var pp = this.mDeletePref.params;        pp.calendar = calendarID;        pp.name = name;        this.mDeletePref.step();        this.mDeletePref.reset();        pp = this.mInsertPref.params;        pp.calendar = calendarID;        pp.name = name;        pp.value = value;        this.mInsertPref.step();        this.mInsertPref.reset();        this.mDB.commitTransaction();        this.notifyObservers("onCalendarPrefSet", [calendar, name, value])    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/5c2eff62f489d5c91d466c614db49972e886f55c/calCalendarManager.js/buggy/calendar/base/src/calCalendarManager.js