In the 'Send HTML e-mail' rules action, some fields are optional (eg. the cc and bcc field) - which is correct.

However, when we define a (not required) node field to these rules parameters rules stops executing the action when the input of the field is empty. The warning message of rules is:

"The variable or parameter cc is empty."

Adding the property 'allow null' to the parameters solves this issue.

CommentFileSizeAuthor
#2 allow_null_values-2796965.patch2.24 KBCauliflower

Comments

Cauliflower created an issue. See original summary.

Cauliflower’s picture

StatusFileSize
new2.24 KB

  • sgabe committed b6f7515 on 7.x-1.x authored by Cauliflower
    Issue #2796965 by Cauliflower: Allow NULL values in Rules actions
    
sgabe’s picture

Title: Allow null values in rules actions » Allow NULL values in Rules actions
Category: Task » Bug report
Status: Active » Fixed
Issue tags: +undefined

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.