-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2023-07-26] [$1000] Web - Wrong information is shown if we create a group with descending order for the names of the users #22118
Comments
ProposalPlease re-state the problem that we are trying to solve in this issue.Wrong information is shown if we create a group with descending order for the names of the users. What is the root cause of that problem?The array App/src/components/ReportWelcomeText.js Lines 59 to 62 in b0add94
is created from object App/src/components/ReportWelcomeText.js Line 60 in b0add94
So the root cause of this issue is that App/src/components/ReportWelcomeText.js Lines 98 to 107 in b0add94
, which navigates to wrong profile page. What changes do you think we should make in order to solve the problem?To fix this issue, we should use the App/src/components/ReportWelcomeText.js Lines 103 to 108 in b0add94
to onPress={() => Navigation.navigate(ROUTES.getProfileRoute(accountID))} What alternative solutions did you explore? (Optional)N/A |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
Triggered auto assignment to @sonialiap ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Wrong information is shown if we create a group with descending order for the names of the users. What is the root cause of that problem?In this code: App/src/components/ReportWelcomeText.js Lines 102 to 108 in 84301c9
We are getting the account details from by using the map index from participantAccountIDs . But participantAccountIDs array is not sorted in accordance with the displayNamesWithTooltips array which causes this discrepancy.
What changes do you think we should make in order to solve the problem?We should get the account details from the correct account ID. For that we can change line const accountDetails = props.personalDetails[accountID]; It is important that we change this line and not line What alternative solutions did you explore? (Optional)N/A |
@sonialiap Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Triaging to external |
Job added to Upwork: https://www.upwork.com/jobs/~015a2987433c41d846 |
Current assignee @sonialiap is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Unable to reproduce this |
@Santhosh-Sellavel During the time of selecting the user, you need to select the users based on the descending order of their first letter of their emails. I'm still able to reproduce it. Here's the video. You can try using the emails given in the video for example. error-2023-07-10_11.03.50.mp4 |
@Santhosh-Sellavel Yes, sometimes we maybe unable to reproduce it because the order of object keys(accountID) can be same as the order of IDs in the array. You can try to use the two emails, |
Triggered auto assignment to @dangrous, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@Santhosh-Sellavel Just wanted to inquire if you want the change to be at line |
As per @eh2077's proposal, we will be updating the |
@Santhosh-Sellavel The profile route will not exist if the |
The |
I don't see the point here, is there a scenario where it may fail without computation let me know. But AFAIK, |
@Santhosh-Sellavel The PR #22757 is ready for review, thanks. |
merged, will be deployed shortly! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.42-26 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-07-26. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@priya-zha report ($250) - paid ✔️ |
Hey @Santhosh-Sellavel do you think we can get that checklist out soon? Thanks! |
We can particularly point out a single PR that caused this. So I think we can skip the checklist here, the issue itself is less likely than before and we won't be needing the Regression Tests either, thanks! Let me know if you differ @dangrous, thanks! |
I'm yet to raise please keep that open until Payment Request & Approval, thanks! |
Request $1.5K on ND |
Reviewed details for @Santhosh-Sellavel. These details are accurate based on summary from Business Reviewer and are now approved for payment in NewDot. |
It's a little hard to tell in the history whether or not there's a specific PR that may have caused this, I looked through the Do we want to add a test that's essentially the same as the QA steps in the PR? Or @Santhosh-Sellavel are you saying we already have that? |
@dangrous I think this should be part of the basics. I guess we have it already. If not let's just go with this from QA PR steps! Steps
|
Yeah @sonialiap let's request adding the above test, but call out to Applause that something similar might exist already? Thank you! |
@dangrous, @sonialiap, @Santhosh-Sellavel, @eh2077 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Regression test request opened |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Correct details should be shown if we create a group in descending order for the email of the users
Actual Result:
Wrong information is shown if we create a group with descending order for the emails of the users
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.35-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
error-2023-07-02_12.04.57.mp4
Recording.3380.mp4
Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688278732228069
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: