fix: Contact custom fields not being updated properly#36345
Merged
kodiakhq[bot] merged 7 commits intodevelopfrom Jul 4, 2025
Merged
fix: Contact custom fields not being updated properly#36345kodiakhq[bot] merged 7 commits intodevelopfrom
kodiakhq[bot] merged 7 commits intodevelopfrom
Conversation
Contributor
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
🦋 Changeset detectedLatest commit: ff11d95 The changes in this PR will be included in the next version bump. This PR includes changesets to release 36 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #36345 +/- ##
========================================
Coverage 64.92% 64.93%
========================================
Files 3156 3156
Lines 104827 104828 +1
Branches 19927 19923 -4
========================================
+ Hits 68060 68066 +6
+ Misses 34081 34077 -4
+ Partials 2686 2685 -1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Contributor
|
MarcosSpessatto
approved these changes
Jul 3, 2025
aleksandernsilva
approved these changes
Jul 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes (including videos or screenshots)
Issue(s)
https://rocketchat.atlassian.net/browse/CTZ-273
Steps to test or reproduce
Further comments
When multiple custom fields are send to be updated in a contact that already has custom fields, it was only saving the last custom field due to how the
updateContactCustomFieldsfunction was being called one by one. This caused the visitor & contact data to be out of sync.