Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] web: update jQuery to 3.6.3 #3

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

royle-vietnam
Copy link

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

sdegueldre and others added 2 commits June 25, 2024 09:41
This version of jQuery fixes a number of vulnerabilities in jQuery
compared to
3.3.1 at https://security.snyk.io/package/npm/jquery/3.3.1

Some legacy list tests related to the handle widget have been skipped,
we consider this acceptable because:
- there are no remaining uses of the handle widget in a legacy list view
in the code base. The only remaining usage of the legacy list view is in
the SelectCreateDialog legacy, which is only used in our code base by
the very few legacy client actions that will be converted before v17
- the tests are only broken in enterprise, and the widget appears to
work fine in practice, suggesting a problem with the way tests drag and
drop rather than an actual problem with the code
- spending time to debug tests that will be obsolete within the next few
months and also appear to not correlate to an actual breakage of the
functionality is not worth it.

task-2291793

closes odoo#106960

Signed-off-by: Aaron Bohy (aab) <[email protected]>
To test which browser is currently running, jquery performs some checks
when it starts, by doing invalid queryselectors. Depending on which
selectors crashes, it can determinate if it is running in an old browser
and need to activate some part of the code to support them.

This would not be a big deal, except that it makes the life of some
developers much more difficult: we can no longer easily reload a page
with a "Pause on exception" setting to debug odoo. Doing so works, but
the workflow is polluted by 3 errors initially.

It is so common that I propose to simply remove the checks. This should
be acceptable, since Odoo does not work on old browser versions anyway

We are talking about firefox 5, opera 11 or "Gecko", for a commit that
is at least 11 years old

closes odoo#136013

Signed-off-by: Samuel Degueldre (sad) <[email protected]>
@viinbot viinbot added 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script ⚠️ Failed PR/Commit is failed when run script and removed 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script labels Jun 25, 2024
@viinbot
Copy link

viinbot commented Jun 25, 2024

@royle-viindoo Viindoo Test Suite has failed!

@viinbot viinbot added 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script 🚀 Running PR/Commit is done for everything and ready for manually test and removed ⚠️ Failed PR/Commit is failed when run script 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script labels Jun 25, 2024
@viinbot
Copy link

viinbot commented Jun 25, 2024

@royle-viindoo Viindoo Test Suite has passed!

@royle-vietnam royle-vietnam merged commit 2528b6b into Viindoo:15.0 Jun 26, 2024
1 check passed
@royle-vietnam royle-vietnam deleted the v15_update_jquery branch June 26, 2024 04:31
@viinbot viinbot added 🚩 Done PR/Commit is finished manually test and closed instance and removed 🚀 Running PR/Commit is done for everything and ready for manually test labels Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚩 Done PR/Commit is finished manually test and closed instance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants