[GH-ISSUE #2689] [Bug] when user enter too long number application crashes. #1160

Open
opened 2026-03-23 20:46:02 +00:00 by mirror · 3 comments
Owner

Originally created by @ChiragPaneliya on GitHub (Jun 2, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2689

Bug Description

When user enter too long number application is crashing unxepectedly

https://github.com/AppFlowy-IO/AppFlowy/assets/51508126/fd72a496-bd1d-4323-b4fa-bd64c64e8444

How to Reproduce

Select number type and select any nmber type. after enter too long number in it.

Expected Behavior

It should show wrong number formate insted of app is crashing

Operating System

macOS ventura

AppFlowy Version(s)

0.1.6

Screenshots

No response

Additional Context

No response

Originally created by @ChiragPaneliya on GitHub (Jun 2, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2689 ### Bug Description When user enter too long number application is crashing unxepectedly https://github.com/AppFlowy-IO/AppFlowy/assets/51508126/fd72a496-bd1d-4323-b4fa-bd64c64e8444 ### How to Reproduce Select number type and select any nmber type. after enter too long number in it. ### Expected Behavior It should show wrong number formate insted of app is crashing ### Operating System macOS ventura ### AppFlowy Version(s) 0.1.6 ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@appflowy commented on GitHub (Jun 3, 2023):

It can't reproduce in the develop branch. But it seems like it need to implement parsing the large number string to scientific string.

<!-- gh-comment-id:1574689010 --> @appflowy commented on GitHub (Jun 3, 2023): It can't reproduce in the develop branch. But it seems like it need to implement parsing the large number string to scientific string.
Author
Owner

@annieappflowy commented on GitHub (Dec 23, 2023):

not handled well at the moment

<!-- gh-comment-id:1868342214 --> @annieappflowy commented on GitHub (Dec 23, 2023): not handled well at the moment
Author
Owner

@rileyhawk1417 commented on GitHub (Jan 25, 2025):

https://github.com/user-attachments/assets/d3a0734d-1b4c-40a6-bfe0-6142aff50251

When testing in 0.8.1 long numbers do get stored, although in my case was exaggerating with the amount of numbers I was putting in. So when testing I was adding spaces in between the numbers, I think some numbers got cut off at some point.

<!-- gh-comment-id:2613978347 --> @rileyhawk1417 commented on GitHub (Jan 25, 2025): https://github.com/user-attachments/assets/d3a0734d-1b4c-40a6-bfe0-6142aff50251 When testing in 0.8.1 long numbers do get stored, although in my case was exaggerating with the amount of numbers I was putting in. So when testing I was adding spaces in between the numbers, I think some numbers got cut off at some point.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#1160
No description provided.