When I tried to enable the submodule commerce_cib_rules, I got the following error:
SQLSTATE[HY000]: General error: 1364 Field 'plugin' doesn't have a default value: INSERT INTO {rules_config} (name, status, module) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array
(
[:db_insert_placeholder_0] => rules_cib_bank_transaction_communication_failure
[:db_insert_placeholder_1] => 2
[:db_insert_placeholder_2] => commerce_cib_rules
After looking into the commerce_cib_rules.rules_defaults.inc file I figured out that the rules_i18n (Rules translation) module was not enabled in my site. After manually enabling the Rules translation module, I was able to enable commerce_cib_rules without error.
Adding
dependencies[] = rules_i18n
to commerce_cib_rules.info should solve this issue.
Comments
Comment #1
czigor commentedI have removed the Hungarian translations of the rules from the feature since the import seemed not to work. They should be included though but I'm not sure how. Marking as fixed since the error itself is gone.