Hi there,
I am attempting to create a rule that automatically creates a group event node when a group post node is created by the users. Once things are said and done, I'd like to use that group event node in a calendar view.
My Event is................. After saving new content
My Condition is............. Content is of type - Parameter: Content: [node], Content types: Post
My Actions are..............
-
Fetch entity by id
Parameter: Entity type: Node, Identifier: [node:nid], Revision identifier: [node:vid]
Provides variables: Learning Link (node) -
Fetch entity by id
Parameter: Entity type: User, Identifier: [site:current-user:uid]
Provides variables: Contributor (user) -
Create a new entity
Parameter: Entity type: Node, Content type: Event, Title: [learning_link:title], Author: [contributor]
Provides variables: New Event (node) -
Set a data value
Parameter: Data: [new-event:group-audience], Value: Value: [node:group-audience] -
Set a data value
Parameter: Data: [new-event:field-article-reference], Value: [learning-link:nid] -
Set a data value
Parameter: Data: [new-event:group-content-access], Value: [node:group-content-access]
I am having the following problem that I'm hoping you can help me with: I am running into a wall when I try to add an action to populate the date field of the new event node. I am attempting to Set a Data Value with new-event:field-date as the Data Data selector * and site:current-date as the Value Data selector. When I click save, I am getting this error that prohibits me from populating the date field:
The integrity check failed with the following error message: "The selected data property doesn't support writing."
I get the same result when I try this for the Value Data Selector: node:created or this as well: learning-link:created I receive the same error when i click the Switch to the direct input mode and try the static default date: 2011-05-16 17:30:54
Many thnx in advance for your help.
-Ben