Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028392Retail ModulesWeb POSpublic2014-12-11 18:222014-12-15 09:53
aaroncalero 
marvintm 
lowminorhave not tried
newopen 
5
 
 
No
0028392: Function setUserModelOnline is being called from the login page if the terminal changes
If a user logs in in a terminal and then, from the same browser window, switches to a different terminal (which should only be done while testing), setUserModelOnline is called from the login page while the local database is being reset, and websql error are thrown because setUserModelOnline is trying to access tables that have been removed.
Go to https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]
Log in with demouser/openbravo credentials
Within the same browser tab, go to https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=PS-1 [^]
Check the browser console for errors. The following errors can be found:
OB.Dal.save: table 'ad_user'; {"message":"could not prepare statement (1 no such table: ad_user)","code":5}; https://livebuilds.openbravo.com/retail_pi_pgsql/web/js/gen/5c817c98625702390196d21bb92b6106_WebPOS.js:1893:13 [^]
5c817c98625702390196d21bb92b6106_WebPOS.js:3219 loadingErrorsActions: 'setUserModelOnline II' failed while loading the application. line: https://livebuilds.openbravo.com/retail_pi_pgsql/web/js/gen/5c817c98625702390196d21bb92b6106_WebPOS.js:4196:36 [^]
5c817c98625702390196d21bb92b6106_WebPOS.js:1294 OB.Dal.get: table 'ad_session'; {"message":"could not prepare statement (1 no such table: ad_session)","code":5}; https://livebuilds.openbravo.com/retail_pi_pgsql/web/js/gen/5c817c98625702390196d21bb92b6106_WebPOS.js:2012:11 [^]
5c817c98625702390196d21bb92b6106_WebPOS.js:7107 closeSession; {}; line: https://livebuilds.openbravo.com/retail_pi_pgsql/web/js/gen/5c817c98625702390196d21bb92b6106_WebPOS.js:4008:10 [^] (*,+)
No tags attached.
Issue History
2014-12-11 18:22aaroncaleroNew Issue
2014-12-11 18:22aaroncaleroAssigned To => marvintm
2014-12-11 18:22aaroncaleroTriggers an Emergency Pack => No
2014-12-15 09:53aaroncaleroTypedefect => design defect

There are no notes attached to this issue.