Skip to content
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

App Craches on invalid Clipart Codes #1127

Open
Lazzatin opened this issue Dec 31, 2024 · 1 comment
Open

App Craches on invalid Clipart Codes #1127

Lazzatin opened this issue Dec 31, 2024 · 1 comment

Comments

@Lazzatin
Copy link

Expected Behaviour:

The App does not Crash, if the user manipulates the Clipart Code

Seen Behaviour

Removing a Clipart code between <<>> or typing a long number results in a Crash

Midigation Strategies:

  1. When switching back to the "Create Badge Screen" encode The Clipart in the Field correctly (does not solve number issues in the code)
  2. Catch invalid inputs for clipart id's

Reproduction:

  1. Open The Bade Magic app
  2. select a Clipart for the Text
  3. tap the burger menu
  4. tap create clipart
  5. tap the burger menu again
  6. tap Create Badge (The selected Clipart is now encoded as <>)
    7.a: Remove the Number between <<>>
    7.b:type random numbers between the <<>> till the app crashes
    7.c: (untested) add chars to the <>
    7.d: (untested) use a negativ index

App Crashed

@mariobehling
Copy link
Member

Thanks. This should be working without problems in the flutter version. Keeping this open until the version has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants