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.

Comments

mrfelton’s picture

Status: Active » Needs review
StatusFileSize
new523 bytes

Attached 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'

levelos’s picture

Status: Needs review » Fixed

Thanks mrfelton. d475f5c511d250795527f325381c10fe9cc666de takes care of it by altering the metadata type of user property.

Status: Fixed » Closed (fixed)

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

nareshbw’s picture

Status: Closed (fixed) » Needs work

I got same problem . I have Used above patch but still unable to get the appropriate result.

levelos’s picture

Status: Needs work » Closed (fixed)
levelos’s picture

Please don't reopen closed tickets that have been fixed for many months.

  • levelos committed d475f5c on 7.x-1.x, panels, any-entity, slots, integrations, hold_state
    Change registration user metadata property type to entity. Resolves #...