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.
I am trying to set the value of a country field using Rules using the action "Set a data value". Any property I select to set -- iso2, name, etc. -- gives the error message "The selected data property doesn't support writing."
It looks like this was addressed at one point in #1424204: Property information to set field value, but the code in associated patch has since been removed.
I'm not sure if I am doing something wrong or if it is a bug.
Thanks!
Comments
Comment #1
clemens.tolboomComment #2
clemens.tolboomThe lines are replaced in #1458938: Add schema columns properties
Comment #3
clemens.tolboomAs countries are entities I think you should load a country entity then set your node country field with that one.