Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17652

Symfony conflict between Civi and Drupal 8

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.7
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      Having an issue with Civi 4.7 on Drupal 8 whereby, when CiviCRM is installed, attempts to install any other modules result in the error:

      Call to undefined method Symfony\Component\DependencyInjection\Definition::setFactory() in /Applications/MAMP/htdocs/core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php on line 190

      Which seems to be because Drupal 8 is trying to use the copy of Symfony bundled with Civi, and not the one it comes bundled with.

      Seems to relate in some way to the discussion here:

      https://issues.civicrm.org/jira/browse/CRM-17041

      I'm not too sure on the best way to fix it though - so thought I'd best raise it as an issue.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andyw Andrew Walker
            • Votes:
              2 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated: