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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037008
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorrandom2017-07-24 16:232017-10-31 09:25
ReporteraaroncaleroView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR17Q3.1
StatusclosedFix in branchFixed in SCM revision3de798d80a39
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

0037008: [SERQA 2997] Popup showing seconds left for the masterdata loading can break the POS

DescriptionWhen the incremental data loading is configured, there is a popup that is shown right before the incremental refresh is done, with a few seconds countdown (using a javascript interval), to allow the user to close the popup and cancel the process.
If another popup is opened while the masterdata refresh popup is being shown, a javascript error is thrown inside the js interval code (Uncaught TypeError: Cannot read property '$' of undefined) and the WebPOS enters an error loop which can only be fixed by reloading the application.
Steps To ReproduceThe issue can be reproduced in two ways:
1) Login in backend, go to the POS Terminal window, find the VBS-1 record, navigate to its POS Terminal Type and configure a very high "Time to Incrementally Refresh Masterdata (in minutes)" (i.e. 999999).
Go to the web pos and try to log in.

2) Login in backend, go to the POS Terminal window, find the VBS-1 record, navigate to its POS Terminal Type and configure a very low "Time to Incrementally Refresh Masterdata (in minutes)" (i.e. 0.5).
Login in web pos
Open devtools to be able to force the display of a new popup (in normal usage this can happen randomly, specially if using synchronized mode).
When the Masterdata Refresh popup is shown, execute the following to open a new popup: OB.UTIL.showConfirmation.display("Test", "Test");

In both cases the pos enters an error state and if the application is not reloaded the entire browser (and eventually the computer) gets frozen.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0036531 closedranjith_qualiantech_com [SERQA 2997] Popup showing seconds left for the masterdata loading can break the POS 

-  Notes
(0099815)
hgbot (developer)
2017-10-07 08:08

Repository: retail/backports/3.0RR17Q3.1/org.openbravo.mobile.core
Changeset: 91cdab9f86098cec0e7d602b574d57491f58bc73
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Oct 07 11:22:26 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.1/org.openbravo.mobile.core/rev/91cdab9f86098cec0e7d602b574d57491f58bc73 [^]

Related to issue 37008 : Validate refresh time for masterdata reload

* Refresh time for masterdata reload should be max of 99999 minutes

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0099816)
hgbot (developer)
2017-10-07 08:08

Repository: retail/backports/3.0RR17Q3.1/org.openbravo.retail.posterminal
Changeset: 3de798d80a3957fd2b4a98ca0c2003084fe8def1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Oct 07 11:22:42 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.1/org.openbravo.retail.posterminal/rev/3de798d80a3957fd2b4a98ca0c2003084fe8def1 [^]

Fixed issue 37008 : Masterdata reload popup structure changed

* Masterdata reload showConfirmation popup is replaced by creating popup manually
  in order to avoid the overwrite of master data reload popup by any new popup

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---

- Issue History
Date Modified Username Field Change
2017-10-05 10:23 marvintm Type defect => backport
2017-10-05 10:23 marvintm Target Version => RR17Q3.1
2017-10-07 08:08 hgbot Checkin
2017-10-07 08:08 hgbot Note Added: 0099815
2017-10-07 08:08 hgbot Checkin
2017-10-07 08:08 hgbot Note Added: 0099816
2017-10-07 08:08 hgbot Status scheduled => resolved
2017-10-07 08:08 hgbot Resolution open => fixed
2017-10-07 08:08 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0aa7339d874c2f50f313299e3c19c8e274aba9c4 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q3.1/org.openbravo.retail.posterminal/rev/3de798d80a3957fd2b4a98ca0c2003084fe8def1 [^]
2017-10-31 09:25 marvintm Status resolved => closed
2017-10-31 09:25 marvintm Fixed in Version => RR17Q3.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker