You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change item times by mouse: success
edit calendar item "findme" in TB main calendar UI: add description, gives this error in console:
NS_ERROR_OBJECT_IS_IMMUTABLE: CalItemBase.sys.mjs:197
modify resource:///modules/CalItemBase.sys.mjs:197
setProperty resource:///modules/CalItemBase.sys.mjs:487
set id resource:///modules/CalItemBase.sys.mjs:125
propsToItem resource://tb-experiments-calendar/experiments/calendar/ext-calendar-utils.sys.mjs:107
listener file:///E:/Arbeit/TB/tb68/TB102/TB115/Weiterentwicklung 115/calendartools/experiments/calendar/parent/ext-calendar-provider.js:601
AsyncFunctionNext self-hosted:804
Uncaught (in promise) NS_ERROR_OBJECT_IS_IMMUTABLE: [Exception... "Can not modify immutable data container" nsresult: "0x80460002 (NS_ERROR_OBJECT_IS_IMMUTABLE)" location: "JS frame :: file:///E:/Arbeit/TB/tb68/TB102/TB115/Weiterentwicklung%20115/calendartools/experiments/calendar/parent/ext-calendar-provider.js :: modifyItem :: line 337" data: no]
modifyItem resource:///modules/CalCachedCalendar.sys.mjs:756
modifyItemCallback resource:///modules/CalCachedCalendar.sys.mjs:809
doModifyItem resource:///modules/CalCachedCalendar.sys.mjs:840
The text was updated successfully, but these errors were encountered:
opto
changed the title
created calendar is immutable, meaning times can be changed by mouse, but no description can be added
created calendar is immutable, meaning event times can be changed by mouse, but no description can be added
Sep 30, 2024
Are you using the latest version of the experiment? It looks like line 107 is not in propsToItem. If you could try again with the latest version that would be helpful. What is immutable is the calendar item, if this persists we might need to clone somewhere.
this error blocks me more than #44:
as in experimentsample, calendar is created like this:
if (calendars.length==0) {
calendar = await lightning.calendars.create({
type: "ext-" + messenger.runtime.id,
url: "custom://test",
name: "Test Calendar"
});
console.log("create immediate", calendar);
};
STR: most likely based on fa00dc7
change item times by mouse: success
edit calendar item "findme" in TB main calendar UI: add description, gives this error in console:
NS_ERROR_OBJECT_IS_IMMUTABLE: CalItemBase.sys.mjs:197
modify resource:///modules/CalItemBase.sys.mjs:197
setProperty resource:///modules/CalItemBase.sys.mjs:487
set id resource:///modules/CalItemBase.sys.mjs:125
propsToItem resource://tb-experiments-calendar/experiments/calendar/ext-calendar-utils.sys.mjs:107
listener file:///E:/Arbeit/TB/tb68/TB102/TB115/Weiterentwicklung 115/calendartools/experiments/calendar/parent/ext-calendar-provider.js:601
AsyncFunctionNext self-hosted:804
Uncaught (in promise) NS_ERROR_OBJECT_IS_IMMUTABLE: [Exception... "Can not modify immutable data container" nsresult: "0x80460002 (NS_ERROR_OBJECT_IS_IMMUTABLE)" location: "JS frame :: file:///E:/Arbeit/TB/tb68/TB102/TB115/Weiterentwicklung%20115/calendartools/experiments/calendar/parent/ext-calendar-provider.js :: modifyItem :: line 337" data: no]
modifyItem resource:///modules/CalCachedCalendar.sys.mjs:756
modifyItemCallback resource:///modules/CalCachedCalendar.sys.mjs:809
doModifyItem resource:///modules/CalCachedCalendar.sys.mjs:840
The text was updated successfully, but these errors were encountered: