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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037730
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2018-01-25 14:132018-02-05 11:47
ReporterumartirenaView Statuspublic 
Assigned Torqueralta 
PriorityurgentResolutionfixedFixed in VersionRR18Q2
StatusclosedFix in branchFixed in SCM revisiona93f9b202cee
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

0037730: Web POS breaks under certain circumstances

DescriptionWeb POS breaks under certain circumstances
Steps To ReproduceIn 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0102058)
hgbot (developer)
2018-01-30 14:42

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a93f9b202ceef08931ea4a9b0212106c8d2a7c83
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Fri Jan 26 15:04:33 2018 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a93f9b202ceef08931ea4a9b0212106c8d2a7c83 [^]

Fixed issue 37730: Web POS breaks under certain circumstances

---
M web/org.openbravo.retail.posterminal/js/components/order.js
---
(0102059)
hgbot (developer)
2018-01-30 15:16

Repository: tools/automation/pi-mobile
Changeset: 66615cb4f0c5219966eb5d61c92ac22171ba289f
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon Jan 29 18:24:44 2018 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/66615cb4f0c5219966eb5d61c92ac22171ba289f [^]

Verifies issue 37730: Web POS breaks under certain circumstances

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I37730_WebPOSBreaksUnderCertainCircumstances.java
---
(0102121)
hgbot (developer)
2018-02-01 15:29

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9d3575da71cab9156a9691b707d02543487bda41
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Tue Jan 30 13:58:59 2018 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9d3575da71cab9156a9691b707d02543487bda41 [^]

Related to issue 37730: Web POS breaks under certain circumstances

---
M web/org.openbravo.retail.posterminal/js/components/order.js
---

- 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 Triggers an Emergency Pack => No
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker