brmlab / brmbar

This software is used in brmlab to maintain wallet of members and enable them to buy stuff on bar by scanning barcodes
5 stars 3 forks source link

brmbar3: database connectivity #1

Closed ruzaq closed 11 years ago

ruzaq commented 12 years ago

Description of the problem: if database connectivity is not present at the time of starting brmbar3 it does nothing nor notify gui user. Likewise if you lose connection with the database at runtime (eg by restarting database server) brmbar3 stops working.

Solution proposal: during program startup and periodically during its run or in case transaction not finished into the database to check whether the connection to the database server is ok, and if not, display dialog "Database connectivity problem" with big button "Connect to database".

AxTheB commented 11 years ago

Fixed by cc3009c8135738cb5c6d8417c71f33d49b41a68f