Problem/Motivation
Hi,
only 2 deprecated libraries need to be replaced. Is that a simple thing for patches?
thanks!
Unique Field Ajax 2.1.2
Scanned on Sun, 2023-04-30 - 11:38.
4 warnings found.
In progress will be coming with version 3.x
See: #3334221: [3.x] Drupal 10
modules/contrib/unique_field_ajax/unique_field_ajax.module:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check │ 652 │ Relying on entity queries to check access by default is │
│ manually │ │ deprecated in drupal:9.2.0 and an error will be thrown from │
│ │ │ drupal:10.0.0. Call │
│ │ │ \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with │
│ │ │ TRUE or FALSE to specify whether access should be checked. │
│ │ │ │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘
modules/contrib/unique_field_ajax/unique_field_ajax.libraries.yml:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check │ 0 │ The 'unique_event' library is depending on a deprecated │
│ manually │ │ library. The core/jquery.once asset library is deprecated in │
│ │ │ Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the │
│ │ │ core/once library instead. See │
│ │ │ https://www.drupal.org/node/3158256 │
│ │ │ │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘
modules/contrib/unique_field_ajax/unique_field_ajax.info.yml:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check │ 0 │ Value of core_version_requirement: ^8 || ^9 is not │
│ manually │ │ compatible with the next major version of Drupal core. See │
│ │ │ https://drupal.org/node/3070687. │
│ │ │ │
└──────────┴──────┴────────────────────────────────────────────────────────────┘
modules/contrib/unique_field_ajax/tests/unique_field_ajax_test_hooks/unique_fiel
d_ajax_test_hooks.info.yml:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check │ 0 │ Value of core_version_requirement: ^8 || ^9 is not │
│ manually │ │ compatible with the next major version of Drupal core. See │
│ │ │ https://drupal.org/node/3070687. │
│ │ │ │
└──────────┴──────┴────────────────────────────────────────────────────────────┘
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | unique_field_ajax-2x-d10-3359041-5.patch | 2 KB | 3li |
Issue fork unique_field_ajax-3359041
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
maxilein commentedComment #5
3liHave made the changes listed to get 2.x ready for D10
Comment #6
maxilein commentedI can confirm that this works for 9.5 and upgrade status does not report any issues.
Thank you!
Comment #7
3liComment #8
3liComment #11
shefik commentedAny update on an official release of this patch?
Comment #12
shefik commentedAny update on an official release of this patch?
Comment #13
3lihttps://www.drupal.org/project/unique_field_ajax/releases/2.2.1