microsoft / vsts-team-calendar

Team Calendar Extension for Visual Studio Team Services
https://marketplace.visualstudio.com/items/ms-devlabs.team-calendar
MIT License
115 stars 78 forks source link

Team Calendar extension does not work with Azure DevOps Server 2022 #410

Open VladimirKhvostov opened 1 year ago

VladimirKhvostov commented 1 year ago

Team Calendar extension does not work with Azure DevOps Server 2022.

Here is an error:

VSS.SDK.js:105 TypeError: $.uniqueSort is not a function
    at processClassString (widget.js:528:36)
    at $.<computed>.<computed>._classes (widget.js:541:13)
    at $.<computed>.<computed>._toggleClass (widget.js:578:43)
    at $.<computed>.<computed>._addClass (widget.js:566:21)
    at $.<computed>.<computed>._createWrapper (dialog.js:361:14)
    at $.<computed>.<computed>._createWrapper (widget.js:132:37)
    at $.<computed>.<computed>._super (widget.js:117:47)
    at $.<computed>.<computed>._createWrapper (dialog.js:938:18)
    at $.<computed>.<computed>._createWrapper (widget.js:132:37)
    at $.<computed>.<computed>._create (dialog.js:140:14)

jQuery.unique() was renamed to uniqueSort in jQuery version 3.0: https://api.jquery.com/jQuery.uniqueSort/#:~:text=The%20%24.,not%20considered%20to%20be%20duplicates.

Adding the following would fix the issue:

if ( !$.uniqueSort ) {
    $.uniqueSort = $.unique;
}
AminTi commented 1 year ago

Thanks for reporting it will be fixed in an upcoming release.

TinaH16 commented 1 year ago

Hello @AminTi can you please provide a date for the release to fix this issue? Thanks in advance.

dvickerie commented 1 year ago

I too am having an issue with the calendar. Below is a screenshot of the error I am getting: image

joaomarioss commented 1 year ago

the same here. any prevision?

AminTi commented 1 year ago

At this moment, we are actively working on the Team Calendar, and once we have resolved it, we will proceed with the release. appreciate your patience.

raymondgp commented 7 months ago

Hello @AminTi would you have any news on this? Is there any plan to get it fixed?