Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037348 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | always | 2017-11-22 07:32 | 2017-12-04 17:16 | |||
Reporter | guilleaer | View Status | public | |||||
Assigned To | guilleaer | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 0c8e957224fa | ||||
Projection | none | ETA | none | Target Version | RR18Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037348: After execute the hook OBPOS_PreShowPane web POS is not listening tabName changes done in the hook implementation | |||||||
Description | After execute the hook OBPOS_PreShowPane web POS is not listening tabName changes done in the hook implementation | |||||||
Steps To Reproduce | create an implementation for hook OBPOS_PreShowPane and try to change the tab which is being shown. It is not working example: enyo.kind({ name: 'OB.OBPOSPointOfSale.UI.TabBrowseGal', kind: 'OB.UI.TabPane', components: [{ kind: 'OB.UI.ProductBrowserGAL', name: 'catalogTabContentGal' }] }); enyo.kind({ name: 'OB.UI.ProductBrowserGAL', useCharacteristics: true, style: 'background-color: #ffffff;color: black;height: 612px; margin: 5px;', components: [{ kind: 'OB.UI.FlexComponent', flexDirection: 'column', flexContent: [{content: 'Categories'}, {content: 'Products'}] }], executeOnShow: function () { console.log('executeOnShow ProductBrowserGAL'); } }); OB.OBPOSPointOfSale.UI.RightToolbarPane.prototype.kindComponents.push({ kind: 'OB.OBPOSPointOfSale.UI.TabBrowseGal', name: 'catalogGal' }); OB.UTIL.HookManager.registerHook('OBPOS_PreShowPane', function (args, callbacks) { //TODO Here the correct condition if (args.tabName === 'catalog') { args.tabName = 'catalogGal'; } OB.UTIL.HookManager.callbackExecutor(args, callbacks); }); | |||||||
Proposed Solution | Read the object returned by hook | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0100674) hgbot (developer) 2017-11-22 20:32 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 0c8e957224fa3a06be9e66d4776ea314a4805748 Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Wed Nov 22 10:37:19 2017 +0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0c8e957224fa3a06be9e66d4776ea314a4805748 [^] Fixed issue 37348: Returned data from hook OBPOS_PreShowPane is readed --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-right.js --- |
(0100924) migueldejuana (viewer) 2017-12-04 17:16 |
Reviewed |
![]() |
|||
Date Modified | Username | Field | Change |
2017-11-22 07:32 | guilleaer | New Issue | |
2017-11-22 07:32 | guilleaer | Assigned To | => guilleaer |
2017-11-22 07:32 | guilleaer | OBNetwork customer | => No |
2017-11-22 07:32 | guilleaer | Triggers an Emergency Pack | => No |
2017-11-22 07:33 | guilleaer | File Added: issue_37348.diff | |
2017-11-22 07:55 | guilleaer | Status | new => scheduled |
2017-11-22 20:32 | hgbot | Checkin | |
2017-11-22 20:32 | hgbot | Note Added: 0100674 | |
2017-11-22 20:32 | hgbot | Status | scheduled => resolved |
2017-11-22 20:32 | hgbot | Resolution | open => fixed |
2017-11-22 20:32 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0c8e957224fa3a06be9e66d4776ea314a4805748 [^] |
2017-12-04 17:16 | migueldejuana | Review Assigned To | => migueldejuana |
2017-12-04 17:16 | migueldejuana | Note Added: 0100924 | |
2017-12-04 17:16 | migueldejuana | Status | resolved => closed |
2017-12-04 17:16 | migueldejuana | Fixed in Version | => RR18Q1 |
Copyright © 2000 - 2009 MantisBT Group |