Skip to content
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

Merged
merged 5 commits into from
Dec 21, 2017

Conversation

kuzmany
Copy link
Member

@kuzmany kuzmany commented Nov 19, 2017

Q A
Bug fix? y
New feature?
Automated tests included?
Related user documentation PR URL
Related developer documentation PR URL
Issues addressed (#s or URLs) #5195
BC breaks?
Deprecations?

Description:

This bugfix/feature has been sponsored by @Webmecanik

Contacts csustom field wasn't sync after edit in Pipedrive,

Steps to reproduce the bug:

  1. Create a custom field in Mautic and Pipedirve
  2. Set the Pipedrive <> mautic integration
  3. Create or update a contact in Pipedrive (using created custom fields)
  4. Custom field in Mautic do not sync

Steps to test this PR:

  1. Repeat and see update custom field in Mautic

image

@kuzmany kuzmany changed the title Fix: Pipelinecustom field dosn't update Mautic custom field after create/update on Pipeline Fix: Pipeline custom field doesn't update Mautic custom field after create/update on Pipeline Nov 19, 2017
@kuzmany kuzmany changed the title Fix: Pipeline custom field doesn't update Mautic custom field after create/update on Pipeline Fix: Custom field doesn't update Mautic custom field after create/update on Pipeline Nov 19, 2017
@alanhartless alanhartless added this to the 2.12.1 milestone Dec 13, 2017
@alanhartless alanhartless added bug Issues or PR's relating to bugs pending-test-confirmation PR's that require one test before they can be merged labels Dec 13, 2017
Copy link
Contributor

@alanhartless alanhartless left a 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

@javjim javjim self-assigned this Dec 19, 2017
@escopecz escopecz changed the title Fix: Custom field doesn't update Mautic custom field after create/update on Pipeline Fix: Custom field doesn't update Mautic custom field after create/update on Pipedrive Dec 21, 2017
@@ -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());
Copy link
Sponsor Member

@escopecz escopecz Dec 21, 2017

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, thats true. Fixed

@escopecz escopecz added the pending-feedback PR's and issues that are awaiting feedback from the author label Dec 21, 2017
Copy link
Sponsor Member

@escopecz escopecz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@escopecz escopecz merged commit cb332af into mautic:staging Dec 21, 2017
@kuzmany kuzmany deleted the pripedrive-custom-field-update branch April 7, 2018 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues or PR's relating to bugs pending-feedback PR's and issues that are awaiting feedback from the author pending-test-confirmation PR's that require one test before they can be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants