Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23426

Impossible to run any legacy script via ezpublish/console ezpublish:legacy:script in test environment

    XMLWordPrintable

Details

    Description

      It is impossible to run any legacy command using `ezpublish/console ezpublish:legacy:script` test environment

      Steps to reproduce

      1. Run `export SYMFONY_ENV=test` to switch Symfony to test environment
      2. Try to run any command from legacy stack via Symfony console command

      ezpublish/console ezpublish:legacy:script bin/php/ezpgenerateautoloads.php --extension
      

      Actual output

      [RuntimeException]
        Could not map database driver to Legacy Stack database implementation.
        Expected one of 'pdo_mysql', 'pdo_pgsql', 'oci8', got 'pdo_sqlite'.
      

      Command can be executed in old style

      cd ezpublish_legacy/
      bin/php/ezpgenerateautoloads.php --extension
      cd ../
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            klipach klipach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: