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
[$250] iOS - App crashes when pasting large text to the composer and backgrounding the app #51059
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorretest-weeklyApply this label if you want this issue tested on a Weekly basis by Applause
Version Number: 9.0.50-5 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y Issue was found when executing this PR:#50487 Issue reported by: Applause Internal Team
Copy the generated text and the title and quotes under in at the top of the page
Open the app
Log in with a Gmail account
Open any 1:1 DM
Long tap inside the composer
Tap on "Paste"
Background the app
Foreground the app
Try to interact with the app
Repeat steps 9-11 until it crashes
Expected Result:
If the pasted text is longer than 10,000 characters, we should trim the text to 10,000 characters.
We can use a similar pattern to how we indicate the character limit in the Workspace name input field (but it would say Character limit reached (10,000/10,000) instead, or something similar)
Actual Result:
When pasting large text to the composer and backgrounding the app a few times, we attempt to paste the full text string, and the app crashes.
@sakluger 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
Is this a separate bug from #48888? Or is it a regression from that issue's PR?
If we don't allow users to send messages over 10k characters, why would we allow them to paste over 10k characters in the composer? Why don't we just cut off everything over 10k?
This feels like a major edge case, especially given that @Pujan92 can't reproduce at all.
I'm going to close the issue for now. @IuliiaHerets - if you're still able to reproduce it, feel free to reopen. At that point, if we can consistently reproduce, then we'll likely change the behavior to auto-clip the text to 10k max characters.
Nice, sounds like this is fixed! I'm a little unclear on how much work was completed for this issue before we discovered that another PR fixed it already. @allroundexperts is any payment due for this issue?
I am pretty sure no payment is due, so I'm going to close the issue. @allroundexperts - if you disagree, please raise in Slack (since I may not see comments on this GH issue after it is closed).
@allroundexperts raised this in Slack and it turns out that both @allroundexperts and @wildan-m are due 50% payment since the proposal was accepted and the Contributor hired before the issue was closed.
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorretest-weeklyApply this label if you want this issue tested on a Weekly basis by Applause
Activity
melvin-bot commentedon Oct 17, 2024
Triggered auto assignment to @sakluger (
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.IuliiaHerets commentedon Oct 17, 2024
@sakluger 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
sakluger commentedon Oct 17, 2024
Is this a separate bug from #48888? Or is it a regression from that issue's PR?
If we don't allow users to send messages over 10k characters, why would we allow them to paste over 10k characters in the composer? Why don't we just cut off everything over 10k?
sakluger commentedon Oct 17, 2024
cc @anmurali @jasperhuangg @Pujan92 curious for your thoughts on the expected behavior here since you all were involved in #48888.
melvin-bot commentedon Oct 21, 2024
@sakluger Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
sakluger commentedon Oct 22, 2024
I posted to Slack (https://expensify.slack.com/archives/C05LX9D6E07/p1729615084337139) asking for feedback on the expected behavior.
Pujan92 commentedon Oct 22, 2024
@sakluger I can't reproduce the crash. Also, this isn't a regression from the other issue.
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-10-22.at.22.33.43.mp4
sakluger commentedon Oct 22, 2024
This feels like a major edge case, especially given that @Pujan92 can't reproduce at all.
I'm going to close the issue for now. @IuliiaHerets - if you're still able to reproduce it, feel free to reopen. At that point, if we can consistently reproduce, then we'll likely change the behavior to auto-clip the text to 10k max characters.
70 remaining items
sakluger commentedon Jan 2, 2025
I asked for the retest here: https://expensify.slack.com/archives/C9YU7BX5M/p1735839601691729
mvtglobally commentedon Jan 2, 2025
Issue is not reproducible
0-02-01-91e21b572656558f6e2bc4dbff02176716bd247045ad7f3b71e8e53e7e0b7790_277892e65c8b7f2.mp4
sakluger commentedon Jan 2, 2025
Nice, sounds like this is fixed! I'm a little unclear on how much work was completed for this issue before we discovered that another PR fixed it already. @allroundexperts is any payment due for this issue?
sakluger commentedon Jan 3, 2025
I am pretty sure no payment is due, so I'm going to close the issue. @allroundexperts - if you disagree, please raise in Slack (since I may not see comments on this GH issue after it is closed).
sakluger commentedon Jan 8, 2025
@allroundexperts raised this in Slack and it turns out that both @allroundexperts and @wildan-m are due 50% payment since the proposal was accepted and the Contributor hired before the issue was closed.
sakluger commentedon Jan 8, 2025
Summarizing payment on this issue:
Contributor: @wildan-m $125, sent offer via Upwork (https://www.upwork.com/nx/wm/offer/105614874)
Contributor+: @allroundexperts $125, please request on Newdot
sakluger commentedon Jan 8, 2025
@wildan-m please let me know once you've accepted the Upwork offer.
wildan-m commentedon Jan 8, 2025
@sakluger accepted the offer. Thanks!
sakluger commentedon Jan 8, 2025
Thank you! I completed the contract, we're all done here. Closing again.
JmillsExpensify commentedon Jun 13, 2025
$125 approved for @allroundexperts