Problem/Motivation
For security reasons I’m required to update jQuery on all our sites to a version that doesn’t have known security issues. clientside_validation needs a few minor tweaks to work.
Steps to reproduce
Use jquery_update and update to the current jquery version (3.7.1). See that form submissions stop working because of JavaScript errors.
Proposed resolution
- Collect issues caused by removed/changed API calls
- Exchange them with their up-to-date alternatives
Remaining tasks
- Review the provided patch
- More testing
User interface changes
None
API changes
None
Data model changes
None
Issue fork clientside_validation-3483133
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
joseph.olstadThere's an easy fix to this. Update the configuration
here:
/admin/config/user-interface/clientside-validation-jquery-settingsChange the CDN Base URL to:
https://cdn.jsdelivr.net/npm/jquery-validation@1.21.0/dist/Check the "Use JS from CDN" checkbox
Then press the "Save configuration" button.
Rebuild caches.
Comment #3
joseph.olstadComment #4
joseph.olstadComment #6
joseph.olstadComment #7
joseph.olstadhttps://www.drupal.org/project/clientside_validation/releases/4.1.1