Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In reference to this solution, I've tried to implement the same technique (importing this rule) and the tokens aren't appearing in the archived entity:
https://www.drupal.org/node/1938618
any ideas are appreciated!
Comments
Comment #1
hansfn CreditAttribution: hansfn commentedSorry about the late reply.
I deleted your comment on #1938618: Archive sent newsletters to keep the discussion in one place.
First, does the tokens work outside rules - when sending the email? Secondly, you need to post the complete notice (the you quoted half-way in the other comment).
Try to create a minimal view with the problem, export it, and attach it to this issue. Also attach the export rule.
Comment #2
erald CreditAttribution: erald commentedHaving also some problems with the tokens when using them in a rule.
For one I am getting the error
Trying to get property of non-object in views_send_tokens() (line 1251 of /sites/all/modules/contrib/views_send/views_send.module).
and nothing ended up in the saved node.
Searching I found the problem and created a little patch
It was referencing an object which is wrong. With this change everything worked as it would..
Comment #3
hansfn CreditAttribution: hansfn commentedSorry, but I don't see that I will have time to fix any D7 issues.