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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036980
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorhave not tried2017-09-08 09:112017-10-31 09:40
ReporteradrianromeroView Statuspublic 
Assigned Tojorge-garcia 
PriorityurgentResolutionfixedFixed in VersionRR17Q3.1
StatusclosedFix in branchFixed in SCM revision602e337d4806
ProjectionnoneETAnoneTarget VersionRR17Q3.1
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

0036980: 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 ]
blocks defect 0036809 closedjorge-garcia When refreshing (F5) in all windows but Web POS, the window appears before finishing loading all models 

-  Notes
(0100116)
hgbot (developer)
2017-10-27 12:44

Repository: retail/backports/3.0RR17Q3.1/org.openbravo.retail.posterminal
Changeset: 7cb7b54135f322518117f65d81cf51262d65edad
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Oct 27 12:22:49 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.1/org.openbravo.retail.posterminal/rev/7cb7b54135f322518117f65d81cf51262d65edad [^]

Related to issue 36980: 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
---
(0100119)
hgbot (developer)
2017-10-27 12:45

Repository: retail/backports/3.0RR17Q3.1/org.openbravo.mobile.core
Changeset: 602e337d4806e21ad980926d6bab6b882ec802a9
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Oct 27 12:30:23 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.1/org.openbravo.mobile.core/rev/602e337d4806e21ad980926d6bab6b882ec802a9 [^]

Fixed issue 36980: 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.

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
M web/org.openbravo.mobile.core/source/data/ob-windowmodel.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---

- Issue History
Date Modified Username Field Change
2017-10-02 10:57 marvintm Type defect => backport
2017-10-02 10:57 marvintm Target Version => RR17Q3.1
2017-10-27 12:44 hgbot Checkin
2017-10-27 12:44 hgbot Note Added: 0100116
2017-10-27 12:45 hgbot Checkin
2017-10-27 12:45 hgbot Note Added: 0100119
2017-10-27 12:45 hgbot Status scheduled => resolved
2017-10-27 12:45 hgbot Resolution open => fixed
2017-10-27 12:45 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bee387376275f82b0da54f8dbf69206d24d73632 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q3.1/org.openbravo.mobile.core/rev/602e337d4806e21ad980926d6bab6b882ec802a9 [^]
2017-10-31 09:40 marvintm Review Assigned To => marvintm
2017-10-31 09:40 marvintm Status resolved => closed
2017-10-31 09:40 marvintm Fixed in Version => RR17Q3.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker