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
- Install 2.0-beta9 on any Drupal 9 site (I installed it on 9.5.11)
- Create a block view
- Place that block in a View Paragraph on a Paragraph enabled page
- Attempt to load page
Proposed resolution
Update Drupal version to match supported versions of Drupal.
Issue fork viewsreference-3470870
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 #5
scott_euser commentedThanks 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.