Open magento-engcom-team opened 6 years ago
@magento-engcom-team note that according to a conversion in Slack maintainers channels it was agreed that new behavior must be introduced as an option and default behavior must remain unchanged.
as an option and default behavior must remain unchanged
In which case, documentation should also be updated in order to reflect this current\default behavior (as well as the new option).
Preconditions
Steps to reproduce
app/code
($ pestle.phar magento2:generate:module AbcCorp Testbed 0.0.1
php bin/magento setup:upgrade
app/etc/config.php
Expected result
AbcCorp_Testbed
should not appear inapp/etc/config.php
Actual result
AbcCorp_Testbed
appears inapp/etc/config.php
, and is enabledIt's a reasonable developer expectation that
setup:update
should not enable modules that were not previously enabled. This bug came from real world interactions with working developers who hit this bug. This bug caused unexpected Setup Upgrade code to run, and resulted in lost real world working billable hours.Original Report: https://github.com/magento/magento2/issues/9516 by @astorm