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

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

0037009: [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
(0099813)
hgbot (developer)
2017-10-07 08:05

Repository: retail/backports/3.0RR17Q2.4/org.openbravo.mobile.core
Changeset: 356d1a338a812d9cbdd8135310b4af048d988426
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Oct 07 11:19:58 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q2.4/org.openbravo.mobile.core/rev/356d1a338a812d9cbdd8135310b4af048d988426 [^]

Related to issue 37009 : 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
---
(0099814)
hgbot (developer)
2017-10-07 08:06

Repository: retail/backports/3.0RR17Q2.4/org.openbravo.retail.posterminal
Changeset: db7b26db5fc42fbb4e58d21acc875bb0deb84d33
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Oct 07 11:20:09 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q2.4/org.openbravo.retail.posterminal/rev/db7b26db5fc42fbb4e58d21acc875bb0deb84d33 [^]

Fixed issue 37009 : 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 => RR17Q2.4
2017-10-07 08:05 hgbot Checkin
2017-10-07 08:05 hgbot Note Added: 0099813
2017-10-07 08:06 hgbot Checkin
2017-10-07 08:06 hgbot Note Added: 0099814
2017-10-07 08:06 hgbot Status scheduled => resolved
2017-10-07 08:06 hgbot Resolution open => fixed
2017-10-07 08:06 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0aa7339d874c2f50f313299e3c19c8e274aba9c4 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q2.4/org.openbravo.retail.posterminal/rev/db7b26db5fc42fbb4e58d21acc875bb0deb84d33 [^]
2017-10-31 09:25 marvintm Status resolved => closed
2017-10-31 09:25 marvintm Fixed in Version => RR17Q2.4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker