Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034032Retail ModulesStoreServerpublic2016-09-20 12:362016-10-11 11:19
xabiermerino 
mtaal 
urgentmajoralways
closedfixed 
5
 
RR16Q4 
Sandrahuguet
No
0034032: [STORE SERVER 1805] JS error when you are going to pay a ticket with Bon d'achat:
JS error when you are going to pay a ticket with Bon d'achat:

TypeError: Cannot read property 'id' of undefined
    at http://ec2-52-31-227-242.eu-west-1.compute.amazonaws.com/openbravo/web/js/gen/a3a190f23921e1523671132ebb422c76_WebPOS.js:3365:1329 [^]
    at http://ec2-52-31-227-242.eu-west-1.compute.amazonaws.com/openbravo/web/org.openbravo.mobile.core/lib/vendor/underscore-1.3.3.min.js:13:37 [^]
    at Array.some (native)
    at b.some.b.any (http://ec2-52-31-227-242.eu-west-1.compute.amazonaws.com/openbravo/web/org.openbravo.mobile.core/lib/vendor/underscore-1.3.3.min.js:14:142 [^])
    at Function.b.find.b.detect (http://ec2-52-31-227-242.eu-west-1.compute.amazonaws.com/openbravo/web/org.openbravo.mobile.core/lib/vendor/underscore-1.3.3.min.js:13:12 [^])
    at http://ec2-52-31-227-242.eu-west-1.compute.amazonaws.com/openbravo/web/js/gen/a3a190f23921e1523671132ebb422c76_WebPOS.js:3365:1244 [^]
    at http://ec2-52-31-227-242.eu-west-1.compute.amazonaws.com/openbravo/web/js/gen/a3a190f23921e1523671132ebb422c76_WebPOS.js:3360:474 [^]
    at http://ec2-52-31-227-242.eu-west-1.compute.amazonaws.com/openbravo/web/js/gen/a3a190f23921e1523671132ebb422c76_WebPOS.js:64:823 [^]
    at serviceSuccess (http://ec2-52-31-227-242.eu-west-1.compute.amazonaws.com/openbravo/web/js/gen/a3a190f23921e1523671132ebb422c76_WebPOS.js:48:43 [^])
    at Object.success [as origSuccess] (http://ec2-52-31-227-242.eu-west-1.compute.amazonaws.com/openbravo/web/js/gen/a3a190f23921e1523671132ebb422c76_WebPOS.js:58:1 [^]); line: Object.OB.UTIL.showError (http://ec2-52-31-227-242.eu-west-1.compute.amazonaws.com/openbravo/web/js/gen/a3a190f23921e1523671132ebb422c76_WebPOS.js:567:798 [^]) (*,+)
1.- Create a gift cart certificate with amount 100
2.- Create a ticket
3.- Amount: 100
4.- Pay the ticket using the Gift Certificate payment method (bon d'achat)
5.- Click check button to pay the ticket totally
6.- Select the Gift Card created
7.- Click on apply
8.- A JS error appears
SER-QA
Issue History
2016-09-20 12:36xabiermerinoNew Issue
2016-09-20 12:36xabiermerinoAssigned To => StoreServer
2016-09-20 12:36xabiermerinoTriggers an Emergency Pack => No
2016-09-20 12:36xabiermerinoTag Attached: SER-QA
2016-09-20 12:46xabiermerinoDescription Updatedbug_revision_view_page.php?rev_id=13139#r13139
2016-09-20 12:54mtaalAssigned ToStoreServer => mtaal
2016-09-21 00:47hgbotCheckin
2016-09-21 00:47hgbotNote Added: 0090129
2016-09-21 00:47hgbotStatusnew => resolved
2016-09-21 00:47hgbotResolutionopen => fixed
2016-09-21 00:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/96ca4c611e7e8bf506da813ac5f9c61322eab168 [^]
2016-09-25 13:11mtaalReview Assigned To => Sandrahuguet
2016-10-11 11:19SandrahuguetNote Added: 0090527
2016-10-11 11:19SandrahuguetStatusresolved => closed
2016-10-11 11:19SandrahuguetFixed in Version => RR16Q4

Notes
(0090129)
hgbot   
2016-09-21 00:47   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 96ca4c611e7e8bf506da813ac5f9c61322eab168
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Sep 21 00:47:28 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/96ca4c611e7e8bf506da813ac5f9c61322eab168 [^]

Fixes issue 34028: [STORE SERVER 1801] JS error when you try to generate a Gift Card of the type 'reimburse'
The synchronized process call when called directly for one service should unpack its result so that the
result structure is the same as for non-synchronized calls.

Fixes issue 34032: [STORE SERVER 1805] JS error when you are going to pay a ticket with Bon d'achat:

---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
---
(0090527)
Sandrahuguet   
2016-10-11 11:19   
Reviewed and tested