Skip to content

App Craches on invalid Clipart Codes #1127

Closed
@Lazzatin

Description

@Lazzatin

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions