Drupal 11 compatibility

Created on 26 March 2025, 4 months ago

There is 2 issues we should address to fix Drupal 11 compatibility:

web/modules/contrib/commerce_product_taxonomy_filter/src/Plugin/views/filter/TaxonomyIndexTid.php	238	Relying on entity queries to check access by default is 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.

web/modules/contrib/commerce_product_taxonomy_filter/config/optional/views.view.product_terms.yml	201	Support from all Views contextual filter settings for the default_argument_skip_url setting is removed from drupal:11.0.0. No replacement is provided. See https://www.drupal.org/node/3382316.
πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dillix

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @dillix
  • Merge request !9Update 4 files β†’ (Open) created by dillix
  • Pipeline finished with Success
    4 months ago
    Total: 181s
    #457721
  • πŸ‡ΊπŸ‡ΈUnited States dillix
  • Issue was unassigned.
  • Status changed to Needs work 14 days ago
  • πŸ‡ͺπŸ‡ΈSpain interdruper

    A couple of problems with patch MR9:

    • src/Plugin/views/filter/TaxonomyIndexTid.php: accessCheck(TRUE) prevents the module to be installed using Drush (user anonymous)
    • /commerce_product_taxonomy_filter.module, line 94: "TypeError: Cannot access offset of type array on array in Drupal\Core\Database\Query\Merge->key() (line 331 of /drupal/picnegre/web/core/lib/Drupal/Core/Database/Query/Merge.php)": 'key' should be replaced by 'keys', see change record https://www.drupal.org/node/2205327 β†’
  • First commit to issue fork.
  • Merge request !10Update 4 files β†’ (Open) created by skounis
  • Pipeline finished with Success
    12 days ago
    Total: 162s
    #555816
Production build 0.71.5 2024