Skip to content

422 manual sign in not connecting to local database only connected to remote

License and Copyright Notice

By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).

Branch Name

422_Manual_sign-in_not_connecting_to_local_database_only_connected_to_remote

Related Issues

Closes #422

Description

Allows the user to check-in using the local database for manual barcode check-in. If the user uses a phone number, they will be asked to locally register instead.

Steps to Test

  1. Connect to local database.
  2. Register a user locally.
  3. Test manual check-in while connected to the local database, including valid and invalid barcodes and phone numbers.
  4. Connect to remote database.
  5. Test manual check-in while connected to the remote database, including valid and invalid barcodes and phone numbers.

Relevant Screenshots

Relevant Logs

Developer Notes

  • Note 1: This branch doesn't edit any fragments. A toast tells the user that they are connected to the local database when they submit a check-in attempt
  • Note 2: Guest Registration uses the GuestRegistryHelper class to access the local database, not GuestRegistrySource like the remote database. This line can be found in SummaryFragment on line 318. To be consistent, this branch also uses GuestRegistryHelper and creates an isRegistered method for check-in, named after the isRegistered method in GuestRegistrySource.
  • Note 3:Variables that access the local database have all been named localRegDatabase.
Edited by Devaun Huff

Merge request reports