Open Pro opened 8 years ago
ahh ok! https://msdn.microsoft.com/en-us/library/bb176446%28v=office.12%29.aspx Appointment class is Calendar item cant be a task
@bavincen sorry I don't understand your comment... Can you clarify that? Any reason why you didn't merge the commit?
please give me some details what you commit will do. changing one line will provide that feature?
Ok, I'll try my best: Your EWS plugin allows to add shared folders by indicating the EWS ID of that folder. E.g. another user can share his calendar with me. To add the calendar to Thunderbird I use the ID of the folder to add it.
The same can happen with a task list:
If another user shares a task list with me, I could take the EWS ID and add it to the tasks list in Thunderbird. At this point your EWS plugin fails. The folder class is IPF.Task
and thus it fails with alert(this.globalFunctions.getString("calExchangeCalendar", "ecErrorServerAndMailboxCheck", [aMsg, aCode], "exchangecalendar"));
(This error message will never be shown by the way, the plugin just hangs and does nothing).
With my change the shared task list is accepted. And since a Task List is handled exactly the same as Appointments, everything else works. I tested this on my Thunderbird installation and it works flawlessly.
There is no need to change any other line of code.
@bavincen any updates?
If another user shares a task list with you, then you can add the task list through the Folder ID. Therefore the folderClass can also be an
IPF.Task
The rest of the plugin still works since calendar and tasks are the same.