Active
Project:
Conditional Rules
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2015 at 17:36 UTC
Updated:
19 Mar 2019 at 18:49 UTC
Jump to comment: Most recent
Awesome module... I was wondering if anyone else has seen an issue when enabling a feature with a Rules component that has conditions. When I try this my component with the conditional has an error 'unknown action CONDITIONAL' and when I export the component the CONDITIONAL is shown as empty.
{ "CONDITIONAL" : []}
If I export the component from the original system to the one with the feature and overwrite the existing problem component everything works again. It would be nice to get this functioning as part of the feature.
Comments
Comment #1
joel_osc commentedA bit more info... in mymodule.rules_defaults.inc the CONDITIONAL seems to be there:
Comment #2
nicolas bouteille commentedI think the problem is that Features auto-detect does not work with Conditional-Rules. I just created a new Condition as component, and used in an If statement inside another component that is already part of a feature. I tried to recreate the feature in order to deploy the new condition component and the updated component that uses it in production, but when recreating the feature, the new condition component is not found by Features auto-detect. If I add the new condition in the regular "Conditions" area of the rules component instead of the If statement specific to Conditional Rules module, this time Features auto-detects my new condition.
Comment #3
delacosta456 commentedalso
when exporting to code and re-importing as a Feature the "DO" are imported as "Actions" and on the "UI" there are (a lot of, if having long conditional rules) "DO" actions highlighted as unknown. Deleting them solve it but i think it was important to mention it ... as this did not happen with the "Rules" modules it's self.
Thanks