When trying to specify a list of tokens into Direct Input mode tokens are not replaced. This happens because the processData method expects $value to be a string, but in case of list data type an array is given.

CommentFileSizeAuthor
#2 rules-2863561-2.patch971 bytessergiuteaca

Comments

sergiuteaca created an issue. See original summary.

sergiuteaca’s picture

Status: Active » Needs review
StatusFileSize
new971 bytes

Here is a patch that fixes that.

sergiuteaca’s picture

Here is a Pull Request https://github.com/fago/rules/pull/480 with the same changes

fago’s picture

Status: Needs review » Closed (duplicate)

This is the same problem as reported in #2824348: Warnings when using token replacements in multiple string context parameters. Let's deal with it over there.

jonathan1055’s picture

and the new pull request is https://github.com/fago/rules/pull/484 which supercedes 480