Open pcdi opened 9 months ago
I have the same issue. It is really annoying because I can't really use Thunderbird now and it is my main email and calendar program.
This annoying issue has been happening all the time. Some of the task items suddenly become 'calendar' ones and failed to sync. I read the instruction, but I did not understand what exactly should I do. So, I dug a little deeper and I found that in the line lightning.js:257 the _isTodo set by the fact the item variable is an instance of Ci.calITodo. However, it is not (and it is not a Ci.calIEvent neither). I noticed that this item object has a method .isTodo() which returns true. I guess, the lines 257-258 of lightning.js should be replaced with:
this._isTodo = item.isTodo ? item.isTodo() : (item instanceof Ci.calITodo);
this._isEvent = item.isEvent ? item.isEvent() : (item instanceof Ci.calIEvent);
Would appreciate a comment even if I am completely wrong. Thank you.
Having the issue also and cannot use TbSync since quite some time already due to this issue (tasks are never synced properly because this error constantly appears). I need to delete tasks to get it working.
Like #210 this happens after small changes, especially after marking a task as completed
Any update on this issue?
This annoying issue has been happening all the time. Some of the task items suddenly become 'calendar' ones and failed to sync. I read the instruction, but I did not understand what exactly should I do. So, I dug a little deeper and I found that in the line lightning.js:257 the _isTodo set by the fact the item variable is an instance of Ci.calITodo. However, it is not (and it is not a Ci.calIEvent neither). I noticed that this item object has a method .isTodo() which returns true. I guess, the lines 257-258 of lightning.js should be replaced with:
this._isTodo = item.isTodo ? item.isTodo() : (item instanceof Ci.calITodo); this._isEvent = item.isEvent ? item.isEvent() : (item instanceof Ci.calIEvent);
Would appreciate a comment even if I am completely wrong. Thank you.
Can you turn this into a pull request? Thanks!
A pull has been requested. Thank you.
Your environment
TbSync version: 4.7 EAS-4-TbSync version: 4.7 Thunderbird version: 115.3.2
Actual behavior
Whenever I try to sync tasks, some tasks are not synced and the error
Bad Item Skipped: Forbidden calendar item in a task folder (please resort)
is thrown.Related: #210
Steps to reproduce
I fail to reproduce the problem on purpose, it does occur quite frequently, though.
Perhaps it has something to do with
WBXML: Receiving data <send.request.remotechanges>
e.g. in line 318 of the debug log, where seemingly no data is received and the subsequent conversion to XML fails?debug.log
``` ** Wed Oct 11 2023 16:04:22 GMT+0200 (Mitteleuropäische Sommerzeit) ** [TbSync init] : Start (4.7) ** Wed Oct 11 2023 16:04:22 GMT+0200 (Mitteleuropäische Sommerzeit) ** [Thunderbird] : 115.3.2 on WINNT ** Wed Oct 11 2023 16:04:22 GMT+0200 (Mitteleuropäische Sommerzeit) ** [Loading module