Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0037730 | Retail Modules | Web POS | public | 2018-01-25 14:13 | 2018-02-05 11:47 |
Reporter | umartirena | ||||
Assigned To | rqueralta | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR18Q2 | |||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | OBPS | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0037730: Web POS breaks under certain circumstances | ||||
Description | Web POS breaks under certain circumstances | ||||
Steps To Reproduce | In http://livebuilds.openbravo.com/retail_pi_pgsql: [^] * Go to Product window and search for 'GPS Mini' - Set the product as 'Grouped Product = 'N'' * Search for 'Warranty (not deferrable)' - Set the product as 'Grouped Product = 'N'' - Set the product as 'Quantity Rule = 'As per product'' - Set the product as 'Is Price Rule Based = 'Y'' - In 'Price Rule Version' tab set a '20%' Service Price Rule starting from the beggining of current month. * Go to POS Terminal window and search by 'VBS-1' Search Key - Set as 'Return No Prefix = 'RVBS1'' * Go to Preferences window: - Add 'Web POS Save Removed Tickets' = 'Y' preference. Set 'Selected = Y' Go to https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1#login [^] * Search for 'GPS Mini' product and add it to the ticket * Click on services icon and search for 'Warranty (not deferrable)' and relate it to 'GPS Mini' * Go to menu and click on "Return this Receipt" * Delete the ticket * The POS breaks and is not any more usable unless you delete fully cache memory and restart it. * Check in Google Chrome Developers tool that the following error appears: Uncaught dodivide(): Divide by 0 D @ bigdecimal-1.0.1.min.js:14 v @ bigdecimal-1.0.1.min.js:14 OB.DEC.div @ 1e130e7….js:638 (anonymous) @ 1e130e7….js:1907 (anonymous) @ 1e130e7….js:1906 b.each.b.forEach @ underscore-1.3.3.min.js:11 r.(anonymous function) @ backbone-0.9.2.min.js:25 (anonymous) @ 1e130e7….js:1906 trigger @ backbone-0.9.2.min.js:9 change @ backbone-0.9.2.min.js:15 set @ backbone-0.9.2.min.js:12 setDocumentNo @ 1e130e7….js:1273 (anonymous) @ 1e130e7….js:1879 trigger @ backbone-0.9.2.min.js:9 _onModelEvent @ backbone-0.9.2.min.js:24 trigger @ backbone-0.9.2.min.js:9 change @ backbone-0.9.2.min.js:15 set @ backbone-0.9.2.min.js:12 calculateGross @ 1e130e7….js:1247 (anonymous) @ 1e130e7….js:1264 b.each.b.forEach @ underscore-1.3.3.min.js:11 r.(anonymous function) @ backbone-0.9.2.min.js:25 calculateGrossAndSave @ 1e130e7….js:1264 calculateGross @ 1e130e7….js:1263 (anonymous) @ 1e130e7….js:1273 trigger @ backbone-0.9.2.min.js:9 finishPromotions @ 1e130e7….js:2974 (anonymous) @ 1e130e7….js:2974 callbackExecutor @ 1e130e7….js:641 executeHooks @ 1e130e7….js:641 applyPromotionsLat @ 1e130e7….js:2974 applyPromotions @ 1e130e7….js:2974 calculateReceipt @ 1e130e7….js:1273 (anonymous) @ 1e130e7….js:1482 prepareToSend @ 1e130e7….js:1256 finishRemoveOrder @ 1e130e7….js:1482 (anonymous) @ 1e130e7….js:1485 removePayments @ 1e130e7….js:1476 removeOrder @ 1e130e7….js:1485 (anonymous) @ 1e130e7….js:1487 callbackExecutor @ 1e130e7….js:641 executeHooks @ 1e130e7….js:641 deleteOrder @ 1e130e7….js:1486 deleteCurrentOrder @ 1e130e7….js:2335 dispatch @ enyo.js:628 dispatchEvent @ enyo.js:612 enyo.kind.inherited @ enyo.js:410 dispatchEvent @ enyo.js:1338 dispatchBubble @ enyo.js:616 bubbleUp @ enyo.js:608 dispatchBubble @ enyo.js:616 bubbleUp @ enyo.js:608 dispatchBubble @ enyo.js:616 bubbleUp @ enyo.js:608 dispatchBubble @ enyo.js:616 bubbleUp @ enyo.js:608 dispatchBubble @ enyo.js:616 bubbleUp @ enyo.js:608 dispatchBubble @ enyo.js:616 bubbleUp @ enyo.js:608 dispatchBubble @ enyo.js:616 bubble @ enyo.js:604 n.(anonymous function).n.(anonymous function) @ enyo.js:658 tap @ 1e130e7….js:1807 dispatch @ enyo.js:628 dispatchEvent @ enyo.js:612 enyo.kind.inherited @ enyo.js:410 dispatchEvent @ enyo.js:1338 dispatchBubble @ enyo.js:616 bubble @ enyo.js:604 dispatchBubble @ enyo.js:1790 dispatch @ enyo.js:1769 enyo.dispatch @ enyo.js:1795 sendTap @ enyo.js:1909 up @ enyo.js:1897 mouseup @ enyo.js:1937 | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-01-25 14:13 | umartirena | New Issue | |||
2018-01-25 14:13 | umartirena | Assigned To | => Retail | ||
2018-01-25 14:13 | umartirena | OBNetwork customer | => No | ||
2018-01-25 14:13 | umartirena | Triggers an Emergency Pack | => No | ||
2018-01-25 15:59 | marvintm | OBNetwork customer | No => Yes | ||
2018-01-25 15:59 | marvintm | Resolution time | => 1518044400 | ||
2018-01-25 18:33 | rqueralta | Assigned To | Retail => rqueralta | ||
2018-01-25 18:34 | rqueralta | Status | new => scheduled | ||
2018-01-25 18:43 | egoitz | Issue Monitored: egoitz | |||
2018-01-30 14:42 | hgbot | Checkin | |||
2018-01-30 14:42 | hgbot | Note Added: 0102058 | |||
2018-01-30 14:42 | hgbot | Status | scheduled => resolved | ||
2018-01-30 14:42 | hgbot | Resolution | open => fixed | ||
2018-01-30 14:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a93f9b202ceef08931ea4a9b0212106c8d2a7c83 [^] | ||
2018-01-30 15:16 | hgbot | Checkin | |||
2018-01-30 15:16 | hgbot | Note Added: 0102059 | |||
2018-02-01 15:29 | hgbot | Checkin | |||
2018-02-01 15:29 | hgbot | Note Added: 0102121 | |||
2018-02-05 11:47 | marvintm | Review Assigned To | => marvintm | ||
2018-02-05 11:47 | marvintm | Status | resolved => closed | ||
2018-02-05 11:47 | marvintm | Fixed in Version | => RR18Q2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|