trufi-association / trufi-core

Trufi - A Flutter app for Public Transportation
https://www.trufi-association.org
GNU General Public License v3.0
95 stars 45 forks source link

Incorrect data is sent in feedback emails #698

Closed AnivlisLuz closed 1 year ago

AnivlisLuz commented 1 year ago

Bug description

When users send an email, they can send invalid information in the form, e.g. their email address

Severity :white_large_square: Low: Minimal impact, such as cosmetic bugs that do not affect the functionality or usability of the system. :white_check_mark: Medium: Cause inconvenience or annoyance, with temporary workarounds available. :white_large_square: High: Limit key system functions, with possible temporary workarounds available. :white_large_square: Critical: Cause a complete or severe system outage with no workarounds.

Steps to Reproduce

  1. Open the app.
  2. Go to the menu.
  3. Select the "Send Feedback" option.
  4. Select "email".
  5. Fill the form with wrong data. Name: F Email: f Phone number: 1 Feedback: H
  6. Select "submit" button.
  7. See error

Current Result

There is no a message to verify the email or another fields are in a correct format

Expected result

Error message should be displayed to correct the wrong data, por example "The provided email is not in the correct format. Please make sure to enter a valid email address."

Attachments

11_iOS

Environment Device: Mobile Brand: iPhone Model: 14 Pro OS: iOS16.6 Screen 6.1"

Workaround

N/A

Additional information

TC-335

AnivlisLuz commented 1 year ago

We decided to move the form to Google form. So, it could validate this fields.