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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036626
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-08-09 07:352017-10-24 16:53
ReporterguillermogilView Statuspublic 
Assigned Tojorge-garcia 
PriorityurgentResolutionfixedFixed in VersionRR17Q4
StatusclosedFix in branchFixed in SCM revisionad18e7e55853
ProjectionnoneETAnoneTarget Version
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

0036626: ModelReady Hook is automatically adding a number to its name

DescriptionModelReady Hook is automatically adding a number to its name.
If you move from pointOfSale to cashUp name changes from ModelReady:pointOfSale to ModelReady:cashUp but if you cancel the cashUp and go back to pointOfSale the name of the hook is now ModelReady:pointOfSale2 and it is getting updated.
Steps To Reproduce1) See following video:
https://drive.google.com/file/d/0ByStPqN-0atuNENjM241NHZNLVU/view?usp=sharing [^]

2) Or follow this steps:
  2.1) Login in the webPOS
  2.2) Put this code in developers tools of chrome:
OB.UTIL.HookManager.registerHook('ModelReady:pointOfSale', function() {
  OB.UTIL.showConfirmation.display('Hello', 'Hello, I am a popup when pointOfSale window is rendered. Please, close me.', null);
});
  2.3) Enter in the cashup and cancel it. Check a popup is shown.
  2.4) Enter again in the cashup and cancel it. Check the same popup is shown.

Proposed SolutionPut a fixed name to each one
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0098751)
hgbot (developer)
2017-08-31 12:22

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: ad18e7e558537c55decfe716e5d7a6b7d9e4e911
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Aug 31 09:47:27 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ad18e7e558537c55decfe716e5d7a6b7d9e4e911 [^]

Fixed issue 36626: ModelReady Hook is automatically adding a number to its name

The solution is to remove the number assigned by enyo when the hook is eceuted.

---
M web/org.openbravo.mobile.core/source/component/ob-windowview.js
---
(0100044)
hgbot (developer)
2017-10-24 16:53

Repository: tools/automation/pi-mobile
Changeset: cbe490361e5183ad1e3d94d95b0b0135d048ab76
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Tue Oct 24 10:40:12 2017 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/cbe490361e5183ad1e3d94d95b0b0135d048ab76 [^]

Verifies issue 36626: ModelReady Hook is automatically adding a number to its name

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I36626_VerifyModelReadyHookName.java
---

- Issue History
Date Modified Username Field Change
2017-08-09 07:35 guillermogil New Issue
2017-08-09 07:35 guillermogil Assigned To => Retail
2017-08-09 07:35 guillermogil Resolution time => 1504044000
2017-08-09 07:35 guillermogil Triggers an Emergency Pack => No
2017-08-09 07:37 guillermogil Steps to Reproduce Updated View Revisions
2017-08-15 23:22 rqueralta Assigned To Retail => rqueralta
2017-08-15 23:23 rqueralta Status new => scheduled
2017-08-31 09:31 jorge-garcia Assigned To rqueralta => jorge-garcia
2017-08-31 09:52 jorge-garcia Steps to Reproduce Updated View Revisions
2017-08-31 12:22 hgbot Checkin
2017-08-31 12:22 hgbot Note Added: 0098751
2017-08-31 12:22 hgbot Status scheduled => resolved
2017-08-31 12:22 hgbot Resolution open => fixed
2017-08-31 12:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ad18e7e558537c55decfe716e5d7a6b7d9e4e911 [^]
2017-09-04 09:22 marvintm Review Assigned To => marvintm
2017-09-04 09:22 marvintm Status resolved => closed
2017-09-04 09:22 marvintm Fixed in Version => RR17Q4
2017-10-24 16:53 hgbot Checkin
2017-10-24 16:53 hgbot Note Added: 0100044


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker