Upgrade from 10.2 to 10.4 problems with ECA

Created on 11 February 2025, 13 days ago

I just upgraded Core 10.2 to 10.4 and got the unexpected error message. The site is running ECA 1.1.5

This verbose output leads me to believe it is probably a problem with ECA:

Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "eca.state", path: "eca.state". in Drupal\Component\DependencyInjection\Container->get() (line 149 of core/lib/Drupal/Component/DependencyInjection/Container.php).

I was able to revert the site back using backups but I need to upgrade it. What do you recommend as the best approach when I try the upgrade again please?

πŸ’¬ Support request
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States guymandude

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

Comments & Activities

  • Issue created by @guymandude
  • πŸ‡ΊπŸ‡ΈUnited States guymandude

    I uninstalled all the ECA 1.1 modules and the BPMN module, and tried installing ECA 2.1 using composer. This is the error message that threw:

    Problem 1
    - Root composer.json requires drupal/eca ^2.1, found drupal/eca[2.1.0, 2.1.1, 2.1.2, 2.1.3] but these were not loaded, likely because it conflicts with another require.
    Problem 2
    - drupal/bpmn_io is locked to version 1.1.3 and an update of this package was not requested.
    - drupal/bpmn_io 1.1.3 requires drupal/eca ^1.0 -> found drupal/eca[1.0.0, ..., 1.1.9] but it conflicts with your root composer.json require (^2.1).

    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    This sounds like you have a constraint for bpmn_io 1.1 somewhere, probably also in the root composer. You need to update ECA and bpmn_io together to version 2.

  • πŸ‡ΊπŸ‡ΈUnited States guymandude

    Thank you jurgenhaas.

    For others benefit I had to delete the entries for ECA and BPMN from composer.json before I could successfully install the new versions.

  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen
Production build 0.71.5 2024