Repository navigation
Description
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.72-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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
Expensify/Expensify Issue URL:
Issue reported by: @neil-marcellini
Slack conversation (hyperlinked to channel name): expensify_retain
Action Performed:
- Go to any chat
- Send a message
- Click the "Add reaction" button to add a non-default emoji reaction
Expected Result:
Emoji reaction menu appears
Actual Result:
App crashes and shows "Uh-oh, something went wrong!" screen
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
- Android: Standalone
- Android: HybridApp
- Android: mWeb Chrome
- iOS: Standalone
- iOS: HybridApp
- iOS: mWeb Safari
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidence
2024-12-05_07-08-47.mp4
hook.js:608 Error: Couldn't find a navigation object. Is your component inside NavigationContainer?
at c (index.ts:32:24)
at X (index.tsx:107:5)
overrideMethod @ hook.js:608
uA @ react-dom.production.min.js:188
a.componentDidCatch.n.callback @ react-dom.production.min.js:189
Ha @ react-dom.production.min.js:156
Es @ react-dom.production.min.js:260
Is @ react-dom.production.min.js:259
ms @ react-dom.production.min.js:258
(anonymous) @ react-dom.production.min.js:282
yl @ react-dom.production.min.js:280
il @ react-dom.production.min.js:269
v @ scheduler.production.min.js:13
k @ scheduler.production.min.js:14
e.exports @ _invoke.js:5
f.<computed> @ _task.js:35
I @ _task.js:21
E @ _task.js:25
At c is the useNavigation line:
const useHtmlPaste: UseHtmlPaste = (textInputRef, preHtmlPasteCallback, removeListenerOnScreenBlur = false, isMarkdownEnabled = true) => {
const navigation = useNavigation();
At X is:
useHtmlPaste(input as MutableRefObject<TextInput | null>, undefined, false, isMarkdownEnabled);
Recording.825.mp4
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021864710692177622796
- Upwork Job ID: 1864710692177622796
- Last Price Increase: 2024-12-05
Issue Owner
Current Issue Owner: @MitchExpensifyMetadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDONE
Activity
melvin-bot commentedon Dec 5, 2024
Triggered auto assignment to @stitesExpensify (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Dec 5, 2024
Triggered auto assignment to @MitchExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Dec 5, 2024
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Dec 5, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
[-]App crashes when clicking add reaction[/-][+][$250] App crashes when clicking add reaction[/+]21 remaining items
stitesExpensify commentedon Dec 10, 2024
Yep we're good!
[-][$250] App crashes when clicking add reaction[/-][+][HOLD for payment 2025-01-02] [$250] App crashes when clicking add reaction[/+]melvin-bot commentedon Dec 26, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Dec 26, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.78-6 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 2025-01-02. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Dec 26, 2024
@ntdiary @MitchExpensify @ntdiary The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
MitchExpensify commentedon Dec 30, 2024
Reviewer Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
MitchExpensify commentedon Dec 30, 2024
Reminder set to pay, please complete the BZ steps in the meantime @ntdiary
ntdiary commentedon Jan 3, 2025
Ah, @MitchExpensify, sorry for the late reply. I think it's fine to just close this issue, and there's no need to pay me here. I didn’t review proposal or PR. 😅
We simply revert a previous PR that introduce this issue, and their payments could be settled in issue #52681.
MitchExpensify commentedon Jan 3, 2025
Ah, thanks for the catch @ntdiary. Deleting the payment summary in that case!