Problem/Motivation
Recently, several jQuery UI libraries were deprecated and had their assets refactored to make that possible: #3113400: Deprecate more jQuery UI library definitions.
That refactoring removed the jquery ui from dependency core/jquery.ui.dialog and called the assets directly instead. The refactoring didn't take into account the need to load core/jquery via the core/jquery.ui dependency. This was likely missed as the library isn't used by core anymore.
Steps to reproduce
Proposed resolution
Add test coverage that should have been there to catch something like this
Fix the issue by adding the necessary dependency to core/jquery.ui.dialog
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#6 | 3191497-6.patch | 3.24 KB | bnjmnm |
#6 | interdiff_2-6.txt | 3.33 KB | bnjmnm |
#6 | 3191497-6-TEST-ONLY.patch | 2.69 KB | bnjmnm |
#2 | 3191497.patch | 2.38 KB | bnjmnm |
#2 | 3191497-is-the-right-dependency-there-TEST-ONLY.patch | 1.37 KB | bnjmnm |
Comments
Comment #2
bnjmnmBumping to critical since this could break direct uses of core/jquery.dialog (even if that would only be a problem in instances where no other jquery ui libraries were used)
Comment #4
larowlanComment #5
bnjmnmThe problem more accurately due to the missing core/jquery library, changing the IS to reflect that and will provide a new patch that adds jQuery instead of jQuery UI.
Comment #6
bnjmnmChanged the jquery.ui.dialog dependency to core/jquery as that is actually what is needed and opened a followup to consider un-detaching jquery.ui.dialog, provided there are not compatibility concerns: #3192804: Possibly undoing most of jquery.ui.dialog's dependency-detachment
Comment #8
lauriiiThank you for opening the follow-up and adding the additional test coverage! Adding dependency on jQuery rather than jQuery UI seems less disruptive since there's some duplication across the assets between
jquery.ui
andjquery.ui.dialog
.Comment #10
catchCommitted 1e1d9a9 and pushed to 9.2.x. Thanks!