registration_property_user_set with is the setter callback function for the Registration->user property expects the value passed in to be an entity_metadata_wrapper. However, when you try and set this property via rules, actually the value that gets passed in is a user id, and so the data gets saved as NULL.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1911024-registration-user-property-setter.patch | 523 bytes | mrfelton |
Comments
Comment #1
mrfelton commentedAttached patch at least gets it working, although it feels wrong to me. I would have though that rules would be passing in a user object at least, considering that the property type is specified as 'user'
Comment #2
levelos commentedThanks mrfelton. d475f5c511d250795527f325381c10fe9cc666de takes care of it by altering the metadata type of user property.
Comment #4
nareshbw commentedI got same problem . I have Used above patch but still unable to get the appropriate result.
Comment #5
levelos commentedComment #6
levelos commentedPlease don't reopen closed tickets that have been fixed for many months.