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

Issue with searching for Non-Existent route #691

Open AnivlisLuz opened 1 year ago

AnivlisLuz commented 1 year ago

Bug description

When a search for a Non-Existent route is made, then go to another option and return to the show routes option, the screen remains blank.

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 "Show routes" option
  4. Write a nonexistent route name in the search bar. Searched route: 1000
  5. Select "Route planner" option from the menu.
  6. Select "Show routes" option from the menu again.
  7. See error

Current Result

The screen remains blank.

Expected result

The application should correctly display the list of all available routes.

Attachments

9_iOS

Environment

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

Workaround

Type in the search bar a correct bus name

Additional information

TC-291

AnivlisLuz commented 1 year ago

We decided do not add the pop up and juste add a message in the result sreen because it delays the search process. For a future update, we need to define better this process, at least include a button to Report a missing route.