Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027216Retail ModulesWeb POSpublic2014-07-28 17:322014-10-06 16:52
jecharri 
marvintm 
urgentminoralways
newopen 
5
 
 
No
0027216: Stabilization: Web POS should not login if the database is not consistent or a table is empty
Web POS should not login if the database is not consistent or a table is empty
For example
-If you do not define any product to Web POS it should not login
-If due to a connection error suddenly the business partner table is empty (or any other), it should not login
No tags attached.
depends on feature request 0027329 new Retail Stabilization: Overhaul the loading process (since the url is entered until the webpos has loaded) 
related to defect 0026589 closed Orekaria Stabilization: When the backend generates a new uuid.js, chrome does not update/delete the Web SQL database 
Not all the children of this issue are yet resolved or closed.
Issue History
2014-07-28 17:32jecharriNew Issue
2014-07-28 17:32jecharriAssigned To => marvintm
2014-07-28 17:32jecharriResolution time => 1409608800
2014-07-28 17:32jecharriTriggers an Emergency Pack => No
2014-07-28 17:33jecharriResolution time1409608800 => 1412978400
2014-07-28 17:33jecharriSeveritymajor => minor
2014-07-29 17:05jecharriSummaryWeb POS should not login if the database is not consistent of a table is empty => Web POS should not login if the database is not consistent or a table is empty
2014-07-29 17:05jecharriDescription Updatedbug_revision_view_page.php?rev_id=6209#r6209
2014-07-29 17:27jecharriIssue cloned0027228
2014-08-13 19:50OrekariaRelationship addeddepends on 0027329
2014-08-18 15:05OrekariaRelationship addedrelated to 0026589
2014-08-22 09:51OrekariaSummaryWeb POS should not login if the database is not consistent or a table is empty => Stabilization: Web POS should not login if the database is not consistent or a table is empty
2014-10-06 11:21mtaalNote Added: 0070735
2014-10-06 11:21mtaalTypedefect => design defect
2014-10-06 16:52mtaalTarget VersionRR14Q4 =>

Notes
(0070735)
mtaal   
2014-10-06 11:21   
This issue has 2 sides to it. From one side we will implement in the mid-term a loading mechanism which can handle more pessismistic cases.

For now to solve/prevent the issue we will add a check that before showing the webpos that the client database is checked. If there are no products or business partners then the system should show a message and logout. The message should show which table is empty.

There are no products in the local database, the application will logout. Please try again to login and contact your administrator if this happens repeatedly,

or

There are no business partners in the local database, the application will logout. Please try again to login and contact your administrator if this happens repeatedly,