Issue fork scheduler-3566805

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

jonathan1055 created an issue. See original summary.

jonathan1055’s picture

Issue summary: View changes

The tests fail with

Error: Class "Doctrine\Common\Annotations\AnnotationRegistry" not found in Drupal\rules\Context\AttributeDiscoveryWithAnnotations->getDefinitions() (line 77 of modules/contrib/rules/src/Context/AttributeDiscoveryWithAnnotations.php).

This is because doctrine/annotations (2.0.2) which was loaded as a requirement in Core 11.2 is not present in 11.3. The required code has been moved into Core for 11.3 and the change record says:

Code that relied on the Doctrine\Common\Annotations\AnnotationException exception should switch to using Drupal\Component\Annotation\Doctrine\AnnotationException instead;

However, that needs to be done in Rules not here. So until that is done we may need to add a dependency on doctrine/annotations

jonathan1055’s picture

Title: RulesEvent test fails at core 11.3 » Rules tests fail at core 11.3 - require doctrine/annotations
Status: Active » Fixed

Same solution for 2.x and 8.x-1.x

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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