Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046706Retail ModulesWeb POSpublic2021-05-18 11:482021-06-10 16:00
alostale 
ranjith_qualiantech_com 
normalminorhave not tried
closedfixed 
5
 
RR21Q3 
No
0046706: cannot login after new version deployment without reload
When a new POS version is deployed and the change is detected during login process (ie. POS was not reloaded in the browser), an error is displayed and the application does not load.

If the POS is reloaded after it, login is completed.
Having no module in development:
1. log in pos
2. log out (keep the browser opened in the login window)
3. stop tomcat
4. change any js file and deploy it
5. start tomcat
6. try to log in from the same tab kept open in step 2
  -> ERROR:
TypeError: Cannot read property 'id' of null
    at Object.OB.UTIL.sendLastTerminalStatusValues (8e2a2b6695735cfe1bd36c4eb8036beb.js:formatted:51257)
    at Object.success (8e2a2b6695735cfe1bd36c4eb8036beb.js:formatted:50218)
    at executeCallbacks (8e2a2b6695735cfe1bd36c4eb8036beb.js:formatted:50111)
    at 8e2a2b6695735cfe1bd36c4eb8036beb.js:formatted:50123
    at G.d.syncAllModelsImpl (8e2a2b6695735cfe1bd36c4eb8036beb.js:formatted:19953)
    at G.d.syncAllModels (8e2a2b6695735cfe1bd36c4eb8036beb.js:formatted:19938)
    at 8e2a2b6695735cfe1bd36c4eb8036beb.js:formatted:50122
    at G.d.callbackExecutor (8e2a2b6695735cfe1bd36c4eb8036beb.js:formatted:22772)
    at G.d.executeHooks (8e2a2b6695735cfe1bd36c4eb8036beb.js:formatted:22766)
    at run (http://localhost:8181/openbravo/web/js/gen/8e2a2b6695735cfe1bd36c4eb8036beb.js:3889:152 [^]); line: Object.OB.UTIL.showError (8e2a2b6695735cfe1bd36c4eb8036beb.js:formatted:22409) (*)
No tags attached.
Issue History
2021-05-18 11:48alostaleNew Issue
2021-05-18 11:48alostaleAssigned To => Retail
2021-05-18 11:48alostaleTriggers an Emergency Pack => No
2021-05-18 11:49alostaleSummarycannot login after new version deploy without reload => cannot login after new version deployment without reload
2021-05-18 12:06ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-05-20 07:53ranjith_qualiantech_comStatusnew => scheduled
2021-06-09 07:10hgbotNote Added: 0129213
2021-06-10 16:00hgbotResolutionopen => fixed
2021-06-10 16:00hgbotStatusscheduled => closed
2021-06-10 16:00hgbotFixed in Version => RR21Q3
2021-06-10 16:00hgbotNote Added: 0129355
2021-06-10 16:00hgbotNote Added: 0129356

Notes
(0129213)
hgbot   
2021-06-09 07:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/469 [^]
(0129355)
hgbot   
2021-06-10 16:00   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 25e322e40a6f25c83b450e7f3740463b23060c90
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-06-10T15:41:09+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/25e322e40a6f25c83b450e7f3740463b23060c90 [^]

Fixed ISSUE-46706: RunSyncProcess should be called after Application Resources and TerminalData loaded

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0129356)
hgbot   
2021-06-10 16:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/469 [^]