Sometimes it might be necessary to add a variable that has no specific value, e.g. an empty list. The following patch adds a default initialization for lists and makes the value assignment optional. Please test.

CommentFileSizeAuthor
create-empty-list.patch864 bytesklausi

Comments

Component: Rules Core » Rules Engine
Status: Needs review » Needs work

The last submitted patch, create-empty-list.patch, failed testing.

fago’s picture

Status: Needs work » Fixed

thanks, I improved the check for lists to make use of the API function + moved the default value assignment to the info alter callback + committed it.

Status: Fixed » Closed (fixed)

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