-
Notifications
You must be signed in to change notification settings - Fork 13k
fix(apps): room converter errors out when converting livechat room closed by the visitor #35107
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
Conversation
|
Looks like this PR is ready to merge! 🎉 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #35107 +/- ##
========================================
Coverage 59.44% 59.44%
========================================
Files 2828 2828
Lines 68168 68168
Branches 15124 15124
========================================
Hits 40522 40522
Misses 24990 24990
Partials 2656 2656
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
KevLehman
left a comment
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.
A changeset maybe? :awesome:
🦋 Changeset detectedLatest commit: 6eb28e9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 35 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 |
Proposed changes (including videos or screenshots)
If the closer of a livechat room is the visitor, the
closedByproperty of the room will contain the visitor's id, not the user's - which crashed the conversion from app format to core format as the converter was always trying to fetch a user from the DB.The behavior now checks for the
closerproperty to correctly assign the value to theclosedByproperty when converting back from the app.Issue(s)
Steps to test or reproduce
Further comments
Further changes will be done to types, however to make this a safely "backportable" PR, they will be done separately