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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034976
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2016-05-17 18:072017-03-08 19:22
ReporterVictorVillarView Statuspublic 
Assigned Toguilleaer 
PriorityurgentResolutionfixedFixed in VersionRR17Q1
StatusclosedFix in branchFixed in SCM revisionbd8528492ee9
ProjectionnoneETAnoneTarget VersionRR17Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034976: [SER QA 969] Search popups in web pos (Receipts/BPs/Locations) stop working if they are opened and the the pos window is resized

DescriptionWhen a search popup is opened in webpos (e.g. the Receipts popup), then dismissed, and then the browser is resized, the next time the same popup is opened, it won't work.
The html element of the search popup will appear duplicated
Steps To ReproduceLogin in web pos.
Open the Receipts search and verify it works.
Close the popup.
Resize the browser.
Open the Receipts search popup again.
The popup doesn't work anymore.
Verify that there are two html divs representing two different instances of the same popup.

Attached video: https://drive.google.com/a/openbravo.com/file/d/0B3RBrE5TUxwbVjJ5RVlfR3B6VzA/view [^]

The workaround is press F5.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks design defect 0032975 closedguilleaer [SER QA 969] Search popups in web pos (Receipts/BPs/Locations) stop working if they are opened and the the pos window is resized 

-  Notes
(0093679)
hgbot (developer)
2017-01-18 10:25

Repository: retail/backports/3.0RR17Q1/org.openbravo.mobile.core
Changeset: bd8528492ee990241e14e1b8a3f36e97189a9636
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Jan 18 10:07:14 2017 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.mobile.core/rev/bd8528492ee990241e14e1b8a3f36e97189a9636 [^]

Fixed issue 34976: Popups will continue working even after a resize event

This fix have 2 parts:
1st part: When a popup is redered (included into the DOM) a list of rendered popups is managed. This is done in the render function of OB.UI.Popup component
2nd part: When a resize event happens, we will iterate the list of rendered popups (rendered means that it is part of the DOM, not thet it is being shown). If the popup is being shown we will hide it and we will destroy the DOM element. Destroying it, the render process which is executed after resize will work fine and no duplicates will be created in the DOM

---
M web/org.openbravo.mobile.core/source/component/ob-commonbuttons.js
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---
(0093707)
hgbot (developer)
2017-01-18 16:58

Repository: retail/backports/3.0RR17Q1/org.openbravo.mobile.core
Changeset: af3cd29833f1e9b58e3b174397988aed6a558544
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Jan 18 16:58:08 2017 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.mobile.core/rev/af3cd29833f1e9b58e3b174397988aed6a558544 [^]

Related to issue 34976: update copyright year

---
M web/org.openbravo.mobile.core/source/component/ob-commonbuttons.js
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---

- Issue History
Date Modified Username Field Change
2017-01-17 08:54 guilleaer Type design defect => backport
2017-01-17 08:54 guilleaer Target Version => RR17Q1
2017-01-18 10:25 hgbot Checkin
2017-01-18 10:25 hgbot Note Added: 0093679
2017-01-18 10:25 hgbot Status scheduled => resolved
2017-01-18 10:25 hgbot Resolution open => fixed
2017-01-18 10:25 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f64a3739162d6077d00b3f9ae3fa78aa870650f7 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.mobile.core/rev/bd8528492ee990241e14e1b8a3f36e97189a9636 [^]
2017-01-18 16:58 hgbot Checkin
2017-01-18 16:58 hgbot Note Added: 0093707
2017-03-08 19:22 marvintm Review Assigned To => marvintm
2017-03-08 19:22 marvintm Status resolved => closed
2017-03-08 19:22 marvintm Fixed in Version => RR17Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker