-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting sub_property on the entity #1031
Conversation
$wrapper->{$property_name}->set($field_value); | ||
} | ||
else { | ||
$wrapper->{$property_name}->{$sub_property}->set($field_value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amitaibu is it correct or is it supposed to be handled on a higher level?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe looks right.
@amitaibu should i create another issue to fix Travis there? Does it worth? |
Yes, I'd be happy to see a working Travis. |
@amitaibu now with green Travis |
@amitaibu This is green, but I absolutely dislike the way how it's done, however at the project we need it, it does the job for the address field and it does not break tests there either. |
#1030
Status
Addresses can be created with this patch, without that, the error in the issue appears.