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

Bug: App crashes when entering an existing email ID saved in info_table #116

Closed
ygowthamr opened this issue Oct 14, 2024 · 0 comments · Fixed by #119
Closed

Bug: App crashes when entering an existing email ID saved in info_table #116

ygowthamr opened this issue Oct 14, 2024 · 0 comments · Fixed by #119
Assignees
Labels
gssoc-ext This issue is under GSSoc Ext program hacktoberfest This issue belongs to hacktoberfest level3 labe3 label for gssoc

Comments

@ygowthamr
Copy link
Contributor

Description

The application crashes when the user inputs an email ID that already exists in the info_table during form submission. This disrupts the user flow and prevents data from being processed correctly.

Steps to Reproduce

  1. Open the app and navigate to the form that collects user details.
  2. Enter an email ID that is already stored in the info_table.
  3. Click the Submit button to save the form data.

Expected Behavior

The app should display a user-friendly message (e.g., "Email ID already exists. Please use another email.") and prevent duplicate entries without crashing.

Actual Behavior

The app crashes immediately upon detecting the duplicate email ID.

Possible Root Cause

  • Unhandled exception when checking for duplicate email IDs in the info_table.
  • Missing error handling logic during form submission for email validation.

Suggested Fix

  • Add a validation check for existing email IDs in info_table before saving.
  • Handle exceptions gracefully and display a meaningful error message if the email already exists.

Additional Information

image

@Harshdev098 pls assign me this issue and give me level3,gssoc extended and hacktober fest tags

@Harshdev098 Harshdev098 added hacktoberfest This issue belongs to hacktoberfest gssoc-ext This issue is under GSSoc Ext program level3 labe3 label for gssoc labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext This issue is under GSSoc Ext program hacktoberfest This issue belongs to hacktoberfest level3 labe3 label for gssoc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants