GraphQL 4.9 causes test failures

Created on 17 September 2024, 4 months ago

Problem/Motivation

The tests fail with the latest version 4.9.0 of the GraphQL module.

1) Drupal\Tests\graphql_webform\Kernel\DataProducer\WebformElementPropertyTest::testResolve with data set "simple string property" (array('textfield', 'Title'), 'title', 'string', 'Title')
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "graphql.file_upload" has a dependency on a non-existent service "file.validator". Did you mean one of these: "form_validator", "path.validator", "email.validator"?
/builds/project/graphql_webform/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:119
/builds/project/graphql_webform/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:126
/builds/project/graphql_webform/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:86
/builds/project/graphql_webform/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php:90
/builds/project/graphql_webform/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:51
/builds/project/graphql_webform/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php:99
/builds/project/graphql_webform/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:51
/builds/project/graphql_webform/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php:90
/builds/project/graphql_webform/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:51
/builds/project/graphql_webform/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php:48
/builds/project/graphql_webform/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:42
/builds/project/graphql_webform/vendor/symfony/dependency-injection/Compiler/Compiler.php:80
/builds/project/graphql_webform/vendor/symfony/dependency-injection/ContainerBuilder.php:767
/builds/project/graphql_webform/web/core/lib/Drupal/Core/DrupalKernel.php:1447
/builds/project/graphql_webform/web/core/lib/Drupal/Core/DrupalKernel.php:971
/builds/project/graphql_webform/web/core/lib/Drupal/Core/DrupalKernel.php:515
/builds/project/graphql_webform/web/core/tests/Drupal/KernelTests/KernelTestBase.php:402
/builds/project/graphql_webform/web/core/tests/Drupal/KernelTests/KernelTestBase.php:270
/builds/project/graphql_webform/tests/src/Kernel/DataProducer/WebformElementPropertyTest.php:37
/builds/project/graphql_webform/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇧🇬Bulgaria pfrenssen Sofia

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024