-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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: room converter errors out when converting livechat room closed by the visitor #35107
base: develop
Are you sure you want to change the base?
Conversation
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 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #35107 +/- ##
========================================
Coverage 59.31% 59.31%
========================================
Files 2825 2825
Lines 68158 68158
Branches 15123 15123
========================================
Hits 40430 40430
Misses 24900 24900
Partials 2828 2828
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
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: 090b598 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
closedBy
property 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
closer
property to correctly assign the value to theclosedBy
property 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