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

Take SYMFONY_ENV into account in asset dump composer scripts

    XMLWordPrintable

    Details

      Description

      Wrong config is used if run composer for test environment. Should be used config_test.yml but actually config_prod.yml is used

      Steps to reproduce

      SYMFONY_ENV=test php composer.phar install
      

      Expected result

      Composer will finish without errors for test environment (using config_test.yml)

      Actual result

      Composer uses config_prod.yml and:

      Dumping all prod assets.
      Debug mode is off.
      



      Possible bug:
      https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Bundle/EzPublishCoreBundle/Composer/ScriptHandler.php#L40

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              kurakin Oleksandr Kurakin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: