Open hostep opened 6 years ago
Thank you for reporting this issue and providing so much information!
We've been able to reproduce this issue in a clean testing environment and added it to our backlog to fix in an upcoming release. We agree that the "import" value shouldn't be present in the config.php
Hi guys
I haven't tested this on a clean Magento project, but I think you will probably be able to reproduce it.
This has been seen using Magento EE 2.2.5 on a Magento Cloud environment. We use version 1.0.9 of the DPD module.
Anyway, here's what I've noticed:
vendor/bin/m2-ece-scd-dump
to dump the configuration to theapp/etc/config.php
file (since you guys probably won't have access to the Magento Cloud, you can most likely reproduce this by executingbin/magento app:config:dump
)After dumping the config, we have this section in our
app/etc/config.php
file:bin/magento app:config:import
, we get this output:Extra remark: I don't think it's a good idea to move these "import" configurations in between environments, since they look like file uploads, so that wouldn't make any sense to move those in between environments. Maybe those "import" configurations should be marked as "system-specific" ? More info: https://devdocs.magento.com/guides/v2.2/extension-dev-guide/configuration/sensitive-and-environment-settings.html (I think this can only be done for Magento 2.2 and higher)
This is probably a pretty complex issue, so I hope I've provided enough info for you guys to figure out what is wrong or what can be improved.
Thanks!