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

Command icon 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

maxilein created an issue. See original summary.

maxilein’s picture

Title: Make Unique Field Ajax 2.x copmatible to Drupal 10 » Make Unique Field Ajax 2.x compatible to Drupal 10

3li made their first commit to this issue’s fork.

3li’s picture

Status: Active » Needs review
StatusFileSize
new2 KB

Have made the changes listed to get 2.x ready for D10

maxilein’s picture

I can confirm that this works for 9.5 and upgrade status does not report any issues.
Thank you!

3li’s picture

3li’s picture

Status: Needs review » Fixed

  • 3li committed 177e07c7 on 2.x
    Issue #3359041 by 3li: Make Unique Field Ajax 2.x compatible to Drupal...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

shefik’s picture

Any update on an official release of this patch?

shefik’s picture

Any update on an official release of this patch?

3li’s picture