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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038101
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2018-03-12 13:432018-03-19 10:59
ReporterairaceburuView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR18Q2
StatusclosedFix in branchFixed in SCM revision1af1d8a97e10
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

0038101: currentWindow is not in afterRenderContainerWindowHook if the window was defined with an empty windowmodel

DescriptionInside afterRenderContainerWindowHook the variable args.window is 'unknown' if the window has been defined with an empty windowmodel like:

OB.OBRWS.WarehouseScreenModel = OB.Model.TerminalWindowModel.extend({
  models: []
});

This is because OB.MobileApp.view.currentWindow = windowName; is not called on time due to the absence of models
Steps To ReproduceTry the above description or either install a but_dev environment with: https://code.openbravo.com/private/swf-utils/file/tip/Snapshot_BUT_DEV_TIP [^] snapshot and place a breakpoint in the line:

  if (args.window === 'retail.warehousescreen' && args.parameters)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0103190)
marvintm (manager)
2018-03-13 13:08

It was indirectly fixed by the following issue:

https://issues.openbravo.com/view.php?id=36809 [^]
(0103264)
ranjith_qualiantech_com (developer)
2018-03-15 08:29

Part of the issue fixed in https://issues.openbravo.com/view.php?id=36809 [^]
(0103265)
hgbot (developer)
2018-03-15 08:29

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 84bbab63279457769a9dd61b6327cda8e13ce206
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Mar 15 12:59:38 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/84bbab63279457769a9dd61b6327cda8e13ce206 [^]

Fixed issue 38101 : Added Timeout for Window ready event if models is not defined

---
M web/org.openbravo.mobile.core/source/component/ob-windowview.js
---
(0103319)
ranjith_qualiantech_com (developer)
2018-03-16 14:26

setTimeout should not be used
(0103343)
hgbot (developer)
2018-03-19 10:09

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1af1d8a97e1012f0ccde6c4347850f92390f7e1b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Mar 19 14:38:57 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1af1d8a97e1012f0ccde6c4347850f92390f7e1b [^]

Fixed issue 38101 : CurrentWindow should be updated in view and model while creating the window

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

- Issue History
Date Modified Username Field Change
2018-03-12 13:43 airaceburu New Issue
2018-03-12 13:43 airaceburu Assigned To => Retail
2018-03-12 13:43 airaceburu Resolution time => 1521414000
2018-03-12 13:43 airaceburu Triggers an Emergency Pack => No
2018-03-12 14:14 airaceburu Assigned To Retail => airaceburu
2018-03-12 14:14 airaceburu Assigned To airaceburu => Retail
2018-03-12 14:14 airaceburu Description Updated View Revisions
2018-03-13 08:50 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2018-03-13 08:50 ranjith_qualiantech_com Status new => scheduled
2018-03-13 13:08 marvintm Review Assigned To => marvintm
2018-03-13 13:08 marvintm Note Added: 0103190
2018-03-13 13:08 marvintm Status scheduled => closed
2018-03-13 13:08 marvintm Resolution open => no change required
2018-03-15 08:28 ranjith_qualiantech_com Status closed => new
2018-03-15 08:28 ranjith_qualiantech_com Resolution no change required => open
2018-03-15 08:28 ranjith_qualiantech_com Status new => scheduled
2018-03-15 08:29 ranjith_qualiantech_com Note Added: 0103264
2018-03-15 08:29 hgbot Checkin
2018-03-15 08:29 hgbot Note Added: 0103265
2018-03-15 08:29 hgbot Status scheduled => resolved
2018-03-15 08:29 hgbot Resolution open => fixed
2018-03-15 08:29 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/84bbab63279457769a9dd61b6327cda8e13ce206 [^]
2018-03-16 14:26 ranjith_qualiantech_com Note Added: 0103319
2018-03-16 14:26 ranjith_qualiantech_com Status resolved => new
2018-03-16 14:26 ranjith_qualiantech_com Resolution fixed => open
2018-03-16 14:26 ranjith_qualiantech_com Status new => scheduled
2018-03-19 10:09 hgbot Checkin
2018-03-19 10:09 hgbot Note Added: 0103343
2018-03-19 10:09 hgbot Status scheduled => resolved
2018-03-19 10:09 hgbot Resolution open => fixed
2018-03-19 10:09 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/84bbab63279457769a9dd61b6327cda8e13ce206 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1af1d8a97e1012f0ccde6c4347850f92390f7e1b [^]
2018-03-19 10:59 marvintm Status resolved => closed
2018-03-19 10:59 marvintm Fixed in Version => RR18Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker