- Issue created by @dcoppel
- Status changed to Closed: duplicate
4 months ago 8:22pm 20 August 2024 - πΊπΈUnited States tr Cascadia
There are two open issues for this - please search the issue queue. I'm on my phone right now so searching and finding those references for you is cumbersome.
Regardless, Rules in 4.0.x is much stricter with datatypes. In this case your
{{node.field_email.value}}
is NULL, and the token replacement expects this to be a string. That's what the error is telling you.Solving the other issues will prevent Rules from displaying an error in this case, but you're still going to be trying to use a NULL token as a string. The solution to that is to configure your field a default string value, even if it's only an empty string. That way the field will always hold data of the correct datatype.
- π«π·France dcoppel
Thanks for your reply.
I was trying to put a default value like you said and the error is still the same. (in all my test the fields was not NULL)
I tried with dev version of module but the result is still the same.
I found a related issue https://www.drupal.org/project/rules/issues/2849810 β where aitala post the same issue the last 3 weeks.I'm thinking that there is an issue to process token annotation by rules conditions.
Thanks for your help.
Regards