Problem/Motivation

The 2.0-beta9 release of the module adds compression to views configuration which is not available in older unsupported versions of Drupal (such as Drupal 9 or earlier). E.g. Drupal\Component\Utility\UrlHelper::compressQueryParameter() is not in the Drupal 9 API.

The info.yml still has 9.3 mentioned "Works with Drupal: ^9.3 || ^10 || ^11".

Drupal 9 API UrlHelper documentation

Drupal 10 API UrlHelper documentation

Steps to reproduce

  1. Install 2.0-beta9 on any Drupal 9 site (I installed it on 9.5.11)
  2. Create a block view
  3. Place that block in a View Paragraph on a Paragraph enabled page
  4. Attempt to load page

Proposed resolution

Update Drupal version to match supported versions of Drupal.

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

john twyman created an issue. See original summary.

scott_euser made their first commit to this issue’s fork.

  • scott_euser committed e22a34e4 on 8.x-2.x
    Issue #3470870 by scott_euser, john twyman: UrlHelper::...
scott_euser’s picture

Title: UrlHelper::compressQueryParameter unavailable in D9 API » Remove mention of Drupal 9 support from info.yml file
Category: Bug report » Task
Issue summary: View changes
Status: Active » Fixed

Thanks for flagging. I removed the remaining reference to Drupal 9 from the info.yml file after discussing with the other maintainers. If someone wishes to lock into an unsupported version of Drupal, they will also need to lock into an older version of this module. Thanks for your understanding.

Status: Fixed » Closed (fixed)

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