Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.0
-
Fix Version/s: 5.0.4
-
Component/s: None
-
Labels:None
Description
Upgrade5_0_0B1::insertPluginAction() ignores the 'enabled' field and doesn't insert it into the new database table. Consequently, actions that were disabled before the upgrade will be enabled after the upgrade. To resolve change components/upgrades/tasks/upgrade5_0_0_b1.php line 782 from
$action_fields = ['location', 'url', 'name', 'options', 'plugin_id', 'company_id'];
to
$action_fields = ['location', 'url', 'name', 'options', 'plugin_id', 'company_id', 'enabled'];