-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix: Custom field doesn't update Mautic custom field after create/update on Pipedrive #5350
Fix: Custom field doesn't update Mautic custom field after create/update on Pipedrive #5350
Conversation
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.
code review is legit
@@ -63,6 +62,7 @@ public function update(array $data = []) | |||
return $this->create($data); | |||
} | |||
|
|||
/** @var $lead LeadModel */ | |||
$lead = $this->em->getRepository(Lead::class)->findOneById($integrationEntity->getInternalEntityId()); |
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.
@kuzmany are you sure the $lead variable is instance of LeadModel? Shouldn't it be instance of the Lead entity? If so, update the annotation and remove the LeadModel namespace please.
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.
Yeah, thats true. Fixed
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.
👍
Description:
This bugfix/feature has been sponsored by @Webmecanik
Contacts csustom field wasn't sync after edit in Pipedrive,
Steps to reproduce the bug:
Steps to test this PR: