-
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
[$250] Distance - "Error loading messages" appears after dismissing invalid distance error #42518
Comments
Triggered auto assignment to @JmillsExpensify ( |
@JmillsExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #wave-collect - Release 1 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Error message "There was an error loading more messages" is visible even when there is no error in the chat flow (The error is in the MoneyRequestView). What is the root cause of that problem?The error message "There was an error loading more messages" in the chat view is controlled by the flag: What changes do you think we should make in order to solve the problem?Create a new function in
and call that when the error modal closes, here: https://github.com/Expensify/App/blob/main/src/components/ReportActionItem/MoneyRequestView.tsx#L356 This will flip the |
@JmillsExpensify Eep! 4 days overdue now. Issues have feelings too... |
Opening up to the community since we have a proposal. |
Job added to Upwork: https://www.upwork.com/jobs/~013c3c05166994ac09 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 ( |
Thanks for your proposal @jainilparikh, but to be able to evaluate the proposal I might need more details and a detailed Root cause Analysis, Would you mind adding more details to your proposal |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Awaiting proposals |
ProposalPlease re-state the problem that we are trying to solve in this issue. What is the root cause of that problem? What changes do you think we should make in order to solve the problem? The state Steps to fix: Implementation:
2, Ensure Onyx Key is Defined: Verify that ONYXKEYS.REPORT_HAS_LOADING_NEWER_REPORT_ACTIONS_ERROR is properly defined in your Onyx keys:
3, Handle State Reset in Onyx: Make sure the state is properly updated in Onyx when merging:
This approach is to make sure that the state indicating an error in loading messages is properly reset, to avoid the propagation of the error to the chat view. |
@goldenbear101 Thanks for your interest in this issue, I suggest you please take a look at our contribution guildelines and few issues where contributors have posted proposals and get yourself familiarized with the codebase and try writing a detailed proposal on where & what to change and for a proposal to be evaluated it's important to put accurate and detailed RCA. |
@JmillsExpensify @ishpaul777 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
we are looking for proposals |
Updated: #42518 (comment) CC: @ishpaul777 for review |
ProposalPlease re-state the problem that we are trying to solve in this issue."Error loading messages" appears after dismissing an invalid distance error What is the root cause of that problem?The backend will show an error because of the invalid address so it won't create the report including the report ID in the backend, but we still keep the ONYX data so when we click the subheader link, we pass the parent report ID and thread report id (which doesn't exist because backend error) to getNewerActions function
What changes do you think we should make in order to solve the problem?We can check if the report ID exists in the backend, and then we can invoke the getNewerActions What alternative solutions did you explore? (Optional) |
This issue has not been updated in over 14 days. @JmillsExpensify, @allroundexperts eroding to Weekly issue. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Waiting on an internal fix. |
Still waiting on internal |
Ah, so @JmillsExpensify do you need a volunteer here or is someone on it? If so, let's make sure it goes in |
Done! Added to hot picks. |
Still in hot picks |
I can work on this, but I need some help getting a little more crisp on just what the expected problem is on the backend. I see this:
but App/src/libs/actions/Report.ts Line 1191 in e8b7582
If it is, can you help me understand what needs to happen differently? |
@allroundexperts can you get back to Tim on the above, please? |
@tgolen I was assuming that it comes from the backend. If it does not (and you can confirm that), then flipping the flag as suggested by @jainilparikh should work fine. I'll test this out and get back. |
I can confirm that I can't find it coming from the backend anywhere 👍 |
Okay cool, so what are our next steps here? Proceed with @jainilparikh's proposal? |
@trjExpensify I just tested this again, and am unable to reproduce it. Can you please check as well? |
Can do! It looks like we now actually delete the whole thing if it was created offline with invalid waypoints: 2024-10-07_11-17-03.mp4Seems like it was fixed as part of this issue: #42950 (comment) Closing! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.75-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #41481
Action Performed:
Expected Result:
There will be no "There was an error loading more messages." in the main chat
Actual Result:
"There was an error loading more messages." error shows up in the main chat after dismissing the error
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6489312_1716463242950.20240523_183441.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ishpaul777The text was updated successfully, but these errors were encountered: