[MGNLUI-4727] Update JQueryWrapper to jQuery 3 API Created: 19/Oct/18  Updated: 24/Dec/19  Resolved: 09/Nov/18

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0

Type: Task Priority: Neutral
Reporter: Maxime Michel Assignee: Maxime Michel
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLUI-4640 Merge the new thumbnail view to Resur... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Release notes required:
Yes
Documentation update required:
Yes
Epic Link: 6.0 library update
Sprint: Basel 159
Story Points: 1

 Description   

While working on MGNLUI-4640 I ran into one issue caused by the major upgrade from jQuery 1.x to 3.x. JQueryWrapper was accessing a jQuery function that has since been removed.

Rather than react to those bugs one by one, which is extremely hard as no logging is provided, we should rather do a thorough migration of that class and package to the new API.

Try using the jQuery Migration Plugin shim. 



 Comments   
Comment by Maxime Michel [ 30/Oct/18 ]

In the end it seems that users should only check their 6.0+ projects for usage of JQueryWrapper's unload() method. It will soon be deprecated without replacement in our wrapper, since jQuery deprecated it without replacement in their API.

Also worth noting is that we include the jQuery migration shim. It will help to migrate, but only from versions 1.12.x or 2.2.x. Latest versions of Magnolia 5.5.x, 5.6.x and 5.7.x come with jQuery 1.12.4.

Generated at Mon Feb 12 09:19:28 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.