First, thanks for making this awesome module happen!

I tried the following without success:

Event: Before saving a user account
Conditions: -
Actions:
1. Set a data value. Data: account:field-first-name [CCK text field], Value: Teststring
2. Set a data value. Data: account:field-edited [CCK date field], Value: "now"

Results:
1. The string is not stored after saving a user account.
2. Error message: 'The integrity check failed with the following error message: "The selected data property doesn't support writing."'

Is this a bug, or is "Set a data value' not fully implemented in this alpha release?

Comments

fago’s picture

Component: Rules Core » Rules Engine
Status: Active » Fixed

That should work just fine now. Please re-open if there are still troubles with the latest versions. For date module support, also be sure to use a recent date module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

m3n0R’s picture

I have the same problem with the version 7.x-2.x-dev of Rules and 7.x-2.x-dev of Date modules.

I am trying to update a date field with the current time, but, when I'm trying to "set data" for the action, I get this error:

Error message
The integrity check failed with the following error message: "The selected data property doesn't support writing."

Anybody has had the same problem?

luisortizramos’s picture

Status: Closed (fixed) » Active

I reopen it. I've the same issue than #3

fago’s picture

Status: Active » Closed (works as designed)

>The integrity check failed with the following error message: "The selected data property doesn't support writing."

So the selected data property doesn't support writing. Thus the date module entity property integration needs to be improved to cover that.

videographics’s picture

This is still a problem for me...

Created a date field on a node.
Setup an "Entity has field" condition for the field to make sure it's available in the data selector.
Setup an action to set the value of the field and the field appears in the data selector as expected but when I hit "Save" it fails with "The selected data property doesn't support writing".

adamharms’s picture

same issue... subscribing

sammyd56’s picture

Issue is being tracked in #1153766: provide a property setter callback. Would be great to get your input there fago...