Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036981 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | have not tried | 2017-09-08 09:11 | 2017-10-31 09:39 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR17Q2.4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 6657be4b5707 | ||||
Projection | none | ETA | none | Target Version | RR17Q2.4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036981: When refreshing (F5) in all windows but Web POS, the window appears before finishing loading all models | |||||||
Description | In 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 Solution | No window should be opened if the models are not properly loaded | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0100104) hgbot (developer) 2017-10-27 12:10 |
Repository: retail/backports/3.0RR17Q2.4/org.openbravo.retail.posterminal Changeset: 1f0c71f65caf9e25f8be2ef6a4949129f0bffe24 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Fri Oct 27 11:21:55 2017 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR17Q2.4/org.openbravo.retail.posterminal/rev/1f0c71f65caf9e25f8be2ef6a4949129f0bffe24 [^] Related to issue 36981: 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 --- |
(0100108) hgbot (developer) 2017-10-27 12:12 |
Repository: retail/backports/3.0RR17Q2.4/org.openbravo.mobile.core Changeset: 6657be4b5707997cb7ca10b75a0bbdc097af1225 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Fri Oct 27 11:24:52 2017 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR17Q2.4/org.openbravo.mobile.core/rev/6657be4b5707997cb7ca10b75a0bbdc097af1225 [^] Fixed issue 36981: 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 | => RR17Q2.4 |
2017-10-27 12:10 | hgbot | Checkin | |
2017-10-27 12:10 | hgbot | Note Added: 0100104 | |
2017-10-27 12:12 | hgbot | Checkin | |
2017-10-27 12:12 | hgbot | Note Added: 0100108 | |
2017-10-27 12:12 | hgbot | Status | scheduled => resolved |
2017-10-27 12:12 | hgbot | Resolution | open => fixed |
2017-10-27 12:12 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bee387376275f82b0da54f8dbf69206d24d73632 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q2.4/org.openbravo.mobile.core/rev/6657be4b5707997cb7ca10b75a0bbdc097af1225 [^] |
2017-10-31 09:39 | marvintm | Review Assigned To | => marvintm |
2017-10-31 09:39 | marvintm | Status | resolved => closed |
2017-10-31 09:39 | marvintm | Fixed in Version | => RR17Q2.4 |
Copyright © 2000 - 2009 MantisBT Group |