Core version requirement constraint

Created on 16 July 2021, over 3 years ago
Updated 6 July 2023, over 1 year ago

When using the latest 3.x-dev or 4.x-dev with the latest drupal core version (currently 9.2.1) I get an error on every page load.

Drupal\Core\Extension\InfoParserException: The 'core_version_requirement' constraint (9.2.1) requires the 'core' key not be set in modules/contrib/google_analytics/tests/modules/google_analytics_test/google_analytics_test.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 88 of core/lib/Drupal/Core/Extension/InfoParserDynamic.php)

The issue is that google_analytics/tests/modules/google_analytics_test/google_analytics_test.info.yml still has a "core: 8.x" line in it. As per https://www.drupal.org/node/3070687 β†’ (see the Test Modules paragraph) this line should be removed from any unit test only modules.

Attached is a patch that fixes the issue.

πŸ› Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Jesmaster

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States japerry KVUO

    With the sunset of legacy google analytics, the 8.x-3.x module is now unsupported. If this is still an issue with the 4.x version, please file a new issue in the queue.

Production build 0.71.5 2024