Closed (cannot reproduce)
Project:
Rules
Version:
8.x-3.x-dev
Component:
Rules Core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2017 at 23:58 UTC
Updated:
15 Jun 2018 at 20:44 UTC
Jump to comment: Most recent
Comments
Comment #2
sonoutlaw commentedCouldn't figure it out, so I wrote a custom module to address my clients needs.
I really appreciate the hard work by the team to get Rules out the door. Just my OOP skills aren't at the level where I can be of much assistance to the project.
Comment #3
lissy commentedI have the same Issue:
fresh installation of Drupal 8.3 + rules 8.x-3.0-alpha2
Rule will fire fine on "After saving new content" but not on "After updating content".
And I get an error:
Warning: preg_match_all() expects parameter 2 to be string, array given in Drupal\typed_data\PlaceholderResolver->scan() (line 186 of modules/typed_data/src/PlaceholderResolver.php).Comment #4
jonathan1055 commentedHi Lissy
Regarding your error, see #2824348: Warnings when using token replacements in multiple string context parameters
Comment #5
tr commentedI cannot reproduce this - it works correctly at this time with the current -dev release of Rules. Here is the export of my test rule. I used the "After updating content" event with an action to show a system message. I tested it by updating nodes of several content types, and in each case the system message was shown as expected.
If you are still having this problem with the current -dev version of Rules, then please create a simple reaction rule like I have done and export it to show what exactly you are doing that doesn't work.