Uh oh!
There was an error while loading. Please reload this page.
Bump jQuery to v2.2 - #20949
Conversation
ChristophWurst
commented
May 13, 2020
👀 @blizzz as our friend the ldap 🧙 might cause trouble |
MorrisJobke
commented
May 13, 2020
Fully tested one LDAP wizard go from first to last page. Adding credentials, login details, users and groups worked just fine and there were no JS errors in the console (just a lot of deprecation warnings). |
e-alfred
commented
May 14, 2020
Do you have some kind of list of apps that still use JQuery and could potentially be affected by this? |
ChristophWurst
commented
May 14, 2020
No, this information is hard to acquire. Rule of thumb is the apps that still don't use webpack but have some UI to render |
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4ceea3b to
4ed6284Comparee-alfred
commented
May 14, 2020
The JQuery warning comes up on pretty much every app at the moment, even the Files or Calendar etc., so it is not that helpful currently. |
ChristophWurst
commented
May 14, 2020
I know. This is something we have to work on. For Files it's probably the most complex task to get this app into shape. But others should be easier. |
ChristophWurst
commented
May 14, 2020
You can, for example, add https://github.com/nextcloud/eslint-config and it will automatically tell you which of the deprecated/removed globals are still used. |
juliusknorr
commented
May 19, 2020
There actually seems to be a regression with this that causes the files app to fail loading (sometimes on firefox but more often in chromium) It seems to be somehow related to the order how things are executed since the issue is mainly that the OCA.Files.FileList is not ready when the Any idea @ChristophWurst ? I couldn't find anything helpful in the 2.2 changelog. 😞 |
ChristophWurst
commented
May 20, 2020
ah yeah. I do remember that this loading order issue arose when I attempted to upgrade to v2.2 in the past. Now it seemed resolved when I tested and I just assume the bundled scripts helped. IIRC removing the |
skjnldsv
commented
Jul 20, 2020
Still an issue for me 🤷 |
ChristophWurst
commented
Oct 6, 2020
Documented at nextcloud/documentation#5160 |


As announced in the deprecation warning we will slowly upgrade jquery. This time to v2.2. A quick smoke test showed me a working files list and some basic settings, so the breakage might be minimal.
I would suggest to get this in as early as possible. So we notice the breaking changes in various apps and fix them before the 20 release.
👀 @nextcloud/javascript