Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0039826 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | random | 2018-12-18 09:25 | 2018-12-19 17:52 | |||
Reporter | guillermogil | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR19Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 4db1bbadb19a | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0039826: Console error while opening the menu | |||||||
Description | Console error while opening the menu. There is an Scope error: TypeError: Cannot read property 'apply' of undefined at Object.enyo.kind.inherited (https://butcopy-central.services.openbravo.com/openbravo/web/org.openbravo.mobile.core/build/enyo.js:410:28 [^]) at Object.<anonymous> (https://butcopy-central.services.openbravo.com/openbravo/web/js/gen/ee7b671de59995bf4e632e60549b20b8_WebPOS.js:1012:694 [^]) at callbackFunc (https://butcopy-central.services.openbravo.com/openbravo/web/js/gen/ee7b671de59995bf4e632e60549b20b8_WebPOS.js:2641:109 [^]) at request (https://butcopy-central.services.openbravo.com/openbravo/web/js/gen/ee7b671de59995bf4e632e60549b20b8_WebPOS.js:2642:19 [^]) at https://butcopy-central.services.openbravo.com/openbravo/web/js/gen/ee7b671de59995bf4e632e60549b20b8_WebPOS.js:2644:328 [^] at https://butcopy-central.services.openbravo.com/openbravo/web/js/gen/ee7b671de59995bf4e632e60549b20b8_WebPOS.js:2641:399 [^] at G.d.callbackExecutor (https://butcopy-central.services.openbravo.com/openbravo/web/js/gen/ee7b671de59995bf4e632e6054 [^] Review ob-menu.js show: function(args) { var arg = arguments; OB.UTIL.Approval.requestApproval(OB.MobileApp.view.$.containerWindow.getRoot().model, 'OBMOBC_approval.openMenu', enyo.bind(this, function(approved, supervisor, approvalType) { var me = this; if (approved) { if (this.autoDismiss) { this.autoDismiss = false; this.inherited(arg); setTimeout(function() { me.autoDismiss = true; }, 100); } else { this.inherited(arguments); } } else { this.inherited(arg); this.hide(); } })); }, this.inherited(arguments); is wrong | |||||||
Steps To Reproduce | Random while opening the menu | |||||||
Proposed Solution | Change this.inherited(arguments); to: this.inherited(arg); | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0108671) hgbot (developer) 2018-12-19 11:36 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 4db1bbadb19a8d82023c9974d1f36d0933ce89c2 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Wed Dec 19 16:06:25 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4db1bbadb19a8d82023c9974d1f36d0933ce89c2 [^] Fixed issue 39826 : Modified Toolbar Menu show method inherited param * inherited param arguments is replaced with correct param 'arg' because variable arguments have the reference of inner function, where arg has the original reference of show function param --- M web/org.openbravo.mobile.core/source/component/ob-menu.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2018-12-18 09:25 | guillermogil | New Issue | |
2018-12-18 09:25 | guillermogil | Assigned To | => Retail |
2018-12-18 09:25 | guillermogil | OBNetwork customer | => Gold |
2018-12-18 09:25 | guillermogil | Resolution time | => 1546210800 |
2018-12-18 09:25 | guillermogil | Triggers an Emergency Pack | => No |
2018-12-18 12:04 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2018-12-18 12:05 | ranjith_qualiantech_com | Status | new => scheduled |
2018-12-19 11:36 | hgbot | Checkin | |
2018-12-19 11:36 | hgbot | Note Added: 0108671 | |
2018-12-19 11:36 | hgbot | Status | scheduled => resolved |
2018-12-19 11:36 | hgbot | Resolution | open => fixed |
2018-12-19 11:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4db1bbadb19a8d82023c9974d1f36d0933ce89c2 [^] |
2018-12-19 17:52 | marvintm | Review Assigned To | => marvintm |
2018-12-19 17:52 | marvintm | Status | resolved => closed |
2018-12-19 17:52 | marvintm | Fixed in Version | => RR19Q1 |
Copyright © 2000 - 2009 MantisBT Group |