Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033996 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2016-09-14 18:35 | 2016-09-25 11:51 | |||
Reporter | daniOpenbravo | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR16Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | ||||
OS Version | 14.04 | Database version | 9.3 | Ant version | ||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0033996: [STORE SERVER] Pay open tickets functionality is too poor. | |||||||
Description | Pay Open tickets functionality performance is too poor (it takes a long time to pay only 3 tickets and even the process kills google chrome session) | |||||||
Steps To Reproduce | 1. Log in Web POS. 2. Create a ticket adding some product: ticket1. 3. Click on * icon in order to add a new ticket. 4. Create a ticket adding some product: ticket2. 5. Click on * icon in order to add a new ticket. 6. Create a ticket adding some product: ticket3. 7. Go to menu dropdown and select pay open tickets. 8. Select the 3 previous tickets. 9. Click on the amount button in order to pay those 3 tickets. 10. Realize that it takes too much time to pay those 3 tickets and google chrome´s session is blocked. Wait until all tickets are synchronized (it will take some minutes). | |||||||
Tags | SER-QA | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0090093) mtaal (viewer) 2016-09-20 00:30 |
The reason that it takes soo long time is that underlying a javascript error occurs. The error is in this file: fr.phidias.openbravo.but.monetique/js/hooks/hookPreOrderSave.js There is this code [1]. It fails on the last line in that code snippet as receipt is only an empty object. It seems that the receipt variable must be set to args.model.get('order'), this seems to have the correct value. This issue must be solved by the respective module owner/developer. [1] OB.UTIL.HookManager.registerHook('OBPOS_PreOrderSave', function(args, callbacks) { var receipt = args.context.receipt || {}; var continuation = function() { OB.UTIL.HookManager.callbackExecutor(args, callbacks); } ; if (args.model && args.model.get('order') && args.model.get('order').get('obposIsDeleted')) { continuation(); return; } OB.Dal.find(OB.Model.GiftCard, { giftCardType: PHBUTPG.GiftCardTypes.GIFTCARD, phbutGiftCardSubtype: PHBUTPG.GiftCardSubtypes.LASER }, function(result) { var giftcard_ids = result.models.map(function(item) { return item.get('id'); }); var giftcard_lines = receipt.get('lines').filter(function(line) { |
(0090142) daniOpenbravo (viewer) 2016-09-21 17:24 |
After talking to AZA, it seems a SS issue finally, so re-opened. |
(0090227) mtaal (viewer) 2016-09-25 11:50 |
Resolved by commit of related issue |
(0090228) mtaal (viewer) 2016-09-25 11:51 |
Closing as there is already a related more precise issue entered and resolved. |
![]() |
|||
Date Modified | Username | Field | Change |
2016-09-14 18:35 | daniOpenbravo | New Issue | |
2016-09-14 18:35 | daniOpenbravo | Assigned To | => mtaal |
2016-09-14 18:35 | daniOpenbravo | OBNetwork customer | => Yes |
2016-09-14 18:35 | daniOpenbravo | Resolution time | => 1474408800 |
2016-09-14 18:35 | daniOpenbravo | Triggers an Emergency Pack | => No |
2016-09-14 18:38 | daniOpenbravo | Tag Attached: SER-QA | |
2016-09-14 18:38 | daniOpenbravo | Issue Monitored: daniOpenbravo | |
2016-09-20 00:30 | mtaal | Note Added: 0090093 | |
2016-09-20 00:30 | mtaal | Status | new => closed |
2016-09-20 00:30 | mtaal | Resolution | open => invalid |
2016-09-21 17:24 | daniOpenbravo | Note Added: 0090142 | |
2016-09-21 17:24 | daniOpenbravo | Status | closed => new |
2016-09-21 17:24 | daniOpenbravo | Resolution | invalid => open |
2016-09-25 11:50 | mtaal | Status | new => scheduled |
2016-09-25 11:50 | mtaal | Note Added: 0090227 | |
2016-09-25 11:50 | mtaal | Status | scheduled => resolved |
2016-09-25 11:50 | mtaal | Fixed in Version | => RR16Q4 |
2016-09-25 11:50 | mtaal | Resolution | open => fixed |
2016-09-25 11:51 | mtaal | Relationship added | caused by 0034045 |
2016-09-25 11:51 | mtaal | Note Added: 0090228 | |
2016-09-25 11:51 | mtaal | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |