Hi,
At first, thank you for this brilliant module which has empowered Rules to the greatest usability and I found it really indispensable. Overall, I'm very satisfied with its conditional If-Else and While in actions, just so useful and flexible.

Well, for the Switch and Case statements, though being rigid but it's still usable.

For the Switch statement against Profile2:Type, when I click Add Case, the following error appears.

Error message
FacesExtendableException: There is no method loadBasicInclude for this instance of the class RulesConditionalCase. in FacesExtendable->__call() (line 133 of public_html/sites/all/modules/rules/includes/faces.inc).
The website encountered an unexpected error. Please try again later.

Comments

electrocret’s picture

A work around for the time being would be to use Profile2:Type:type, and do a switch on the machine names.

skadu’s picture

electrocret tip here solved my problem as well. I wasn't using Profile, but EntityForms, it seems to work for any entity type like this.