Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036809
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2017-09-08 09:112017-10-02 10:57
ReporteradrianromeroView Statuspublic 
Assigned Tojorge-garcia 
PriorityurgentResolutionfixedFixed in VersionRR17Q4
StatusclosedFix in branchFixed in SCM revisionbee387376275
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036809: When refreshing (F5) in all windows but Web POS, the window appears before finishing loading all models

DescriptionIn any other window different than main Web POS window, for example Cashup, Cash Managemement, ... If the user press F5 to reload the page, the loading message appears but when the progress bar is around 25% the window is displayed. it does not wait for all models to be loaded. Also it can be observed that in the console window of the web browser, the models continue loading.

The same is happening with Open till. The window gets opened before the models get loaded even if it is a Full Refresh.
Steps To Reproduce* Log in Web POS as Vallblanca in live builds
* Navigate to Cash Up
* Open Developer tools and go to Console tab.
* Refresh the web browser. Press F5
* Observe that when the loading bar is around 25% while loading Tax Rate Model the cashup window appears.
* Observe in the console the log traces showing that models continue loading while the user can operate the Cashup window.
Proposed SolutionNo window should be opened if the models are not properly loaded
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035795 closedranjith_qualiantech_com If you cancel in Count Cash tab, the WebPOS could enter in a inconsistent status 
depends on backport 0036980RR17Q3.1 closedjorge-garcia When refreshing (F5) in all windows but Web POS, the window appears before finishing loading all models 
depends on backport 0036981RR17Q2.4 closedjorge-garcia When refreshing (F5) in all windows but Web POS, the window appears before finishing loading all models 
has duplicate defect 0036241 closedguillermogil With bad connectivity and pagination WebPOS can get loaded even without all the information 

-  Notes
(0099640)
hgbot (developer)
2017-09-28 09:13

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c85940e2ef34785e63bb674c40e4a514df11151d
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Sep 25 10:48:35 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c85940e2ef34785e63bb674c40e4a514df11151d [^]

Related to issue 36809: When refreshing in all windows but Web POS the window
appears before finishing loading all models

Change the listener to indicate the models has changed.

---
M web/org.openbravo.retail.posterminal/js/data/windowmodel.js
---
(0099641)
hgbot (developer)
2017-09-28 09:14

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: bee387376275f82b0da54f8dbf69206d24d73632
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Sep 27 12:23:15 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bee387376275f82b0da54f8dbf69206d24d73632 [^]

Fixed issue 36809: When refreshing in all windows but Web POS the window
appears before finishing loading all models

The solution is to wait until all models are loaded.

Fix some problems when navigating to other windows such as Cashup,
CashManagement and CashUpPartial.

Also fixed some problems if the user refresh the webPOS in a different
windows apart from pointofsale.

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
M web/org.openbravo.mobile.core/source/data/ob-windowmodel.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0099682)
hgbot (developer)
2017-09-29 15:23

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 54c1a4ec32615945d1292ebdaff520f88af15709
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Sep 28 14:54:17 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/54c1a4ec32615945d1292ebdaff520f88af15709 [^]

Related to issue 36809: When refreshing in all windows but Web POS the window
appears before finishing loading all models

Check if model to be loaded has modelName defined. If not, the model will
not be loaded and used in the aplication.

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---

- Issue History
Date Modified Username Field Change
2017-09-08 09:11 adrianromero New Issue
2017-09-08 09:11 adrianromero Assigned To => Retail
2017-09-08 09:11 adrianromero Triggers an Emergency Pack => No
2017-09-21 15:14 guillermogil Description Updated View Revisions
2017-09-21 15:20 guillermogil Issue Monitored: guillermogil
2017-09-21 15:21 guillermogil Description Updated View Revisions
2017-09-21 15:21 guillermogil Proposed Solution updated
2017-09-25 16:51 egoitz Resolution time => 1507500000
2017-09-25 16:58 egoitz Issue Monitored: egoitz
2017-09-25 16:58 egoitz Issue Monitored: malsasua
2017-09-25 16:59 egoitz Relationship added related to 0035795
2017-09-28 09:13 hgbot Checkin
2017-09-28 09:13 hgbot Note Added: 0099640
2017-09-28 09:14 hgbot Checkin
2017-09-28 09:14 hgbot Note Added: 0099641
2017-09-28 09:14 hgbot Status new => resolved
2017-09-28 09:14 hgbot Resolution open => fixed
2017-09-28 09:14 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bee387376275f82b0da54f8dbf69206d24d73632 [^]
2017-09-28 09:18 jorge-garcia Relationship added has duplicate 0036241
2017-09-28 09:27 marvintm Assigned To Retail => jorge-garcia
2017-09-29 15:23 hgbot Checkin
2017-09-29 15:23 hgbot Note Added: 0099682
2017-10-02 10:56 marvintm Status resolved => new
2017-10-02 10:56 marvintm Resolution fixed => open
2017-10-02 10:57 marvintm Status new => scheduled
2017-10-02 10:57 marvintm Status scheduled => resolved
2017-10-02 10:57 marvintm Fixed in Version => RR17Q4
2017-10-02 10:57 marvintm Resolution open => fixed
2017-10-02 10:57 marvintm Review Assigned To => marvintm
2017-10-02 10:57 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker