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
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.TaskThe rest of the plugin still works since calendar and tasks are the same.