You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD on ISSUE #34616] Web - App crashes when open /participants link #38816
Version Number: 1.4.56-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
@muttmuure 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
changed the title [-]Web - App crashes when open /participants link[/-][+][HOLD on ISSUE #34616] Web - App crashes when open /participants link[/+]on Apr 2, 2024
@muttmuure, #34616 has been merged and closed, we can also close this one. The issue has been resolved. Instead of crashing, it now shows 'not found' because the request/new/participants route isn't valid anymore.
Activity
melvin-bot commentedon Mar 22, 2024
Triggered auto assignment to @muttmuure (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.lanitochka17 commentedon Mar 22, 2024
@muttmuure 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
ahmedGaber93 commentedon Mar 22, 2024
I think it is a regression from #35455 which remove
ROUTES.MONEY_REQUEST but not remove its usage
ShridharGoel commentedon Mar 22, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
App crashes when open /participants link.
What is the root cause of that problem?
navigateBack uses this
ROUTES.MONEY_REQUEST.getRouteinMoneyRequestParticipantsPage.js.App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js
Lines 93 to 96 in a8382aa
getRoute is not defined for
ROUTES.MONEY_REQUEST. In fact,MONEY_REQUESTis not even there in this file.This leads to
getRoutebeing called on undefined object.What changes do you think we should make in order to solve the problem?
Define
ROUTES.MONEY_REQUESThere and also addgetRoutefor it or use some other route in thegoBackmethod.Krishna2323 commentedon Mar 22, 2024
We need to hold this for #34616, this will be fixed in that.
[-]Web - App crashes when open /participants link[/-][+][HOLD on ISSUE #34616] Web - App crashes when open /participants link[/+]muttmuure commentedon Apr 17, 2024
Held
muttmuure commentedon Apr 26, 2024
Held
muttmuure commentedon May 1, 2024
Held
Krishna2323 commentedon May 1, 2024
@muttmuure, #34616 has been merged and closed, we can also close this one. The issue has been resolved. Instead of crashing, it now shows 'not found' because the
request/new/participantsroute isn't valid anymore.muttmuure commentedon May 14, 2024
Great! Thanks