Skip to content

Unhandled exceptions for delete - undo #2

Description

@eliztan

When the delete function is used on a student that does not exist, the exception message "Student not found!" is shown before showing a data update success message. If the undo feature is then called, followed by the delete feature again, an error is thrown and the app crashes. If viewing all students, the last user's data is corrupted into null. (In the second image, "aha" was the name of the student under 3.)
image.png
image.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions