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).
Summary
GuestDatabaseRegistration->DatabaseClasses -> GuestRegistryHelper is current class that contains local database TABLE_NAME = "NESTGuestRegistry"
GuestVisit -> Fragments -> ManualFragment -> onViewCreated is location of connection currently using method isConnected to sign into remote database from GuestDatabaseRegistration -> DatabaseClasses -> GuestRegistrySource
(Summarize the bug encountered concisely)
Steps to reproduce
Manual sign-in from Guest Visit Checkin-> Manual Sign-in Entering Barcode or phone returns toast "Not connected to the database. Please check connection."
What is the current bug behavior?
(What actually happens when the steps above are followed)
What is the expected correct behavior?
Should search local database when not connected to remote and find matching data (What you should see instead)
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code, as it's very hard to read otherwise.)
Possible fixes
when remote database is not connected look in local database to verify
(If you can, link to the line of code that might be responsible for the problem or the file)
Labels
(We have not finalized our list of labels, for now, include the labels you would like to include as a comment.