Closed (fixed)
Project:
SVG Image Field
Version:
2.3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2025 at 16:42 UTC
Updated:
16 Dec 2025 at 20:24 UTC
Jump to comment: Most recent
In #3560629: You have requested a non-existent service "views.views_field_default_data" it was discovered that the Drupal 11.2 compatibility tests introduced a bug that was not found by Gitlab CI's automated tests. SVG Image Field module does not properly test its Views integration.
Install Drupal 11.2+ with SVG Image Field 2.3.x
Apply https://git.drupalcode.org/project/svg_image_field/-/merge_requests/45.diff in reverse.
Test SVG Image Field views integration and try to reproduce the issue.
Add test coverage for the Views integration.
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 #2
jwilson3Comment #4
jwilson3I've confirmed that tests pass on 11.1 and fail on 11.2 when I revert the fix from #3560629: You have requested a non-existent service "views.views_field_default_data".
With the fix:
Without the fix:
Unrelated:
PHPUnit 11 deprecated docblock annotations in favor of PHP 8 attributes. The 121 deprecations are from:
Despite the fact that we're requiring PHP 8, the module still targets multiple Drupal versions (including 10.x, 11.1, 11.2+). Drupal 10.x still officially supports PHPUnit 9/10, so I suggest we ignore these internal deprecation warnings for now. They're informational and won't break anything until PHPUnit 12 removes support for annotations entirely.
Comment #5
jwilson3Comment #7
jwilson3This issue has been fixed and released in 2.3.7.
Comment #9
jwilson3