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

clemens.tolboom’s picture

Issue summary: View changes
clemens.tolboom’s picture

The lines are replaced in #1458938: Add schema columns properties

clemens.tolboom’s picture

As countries are entities I think you should load a country entity then set your node country field with that one.