Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034028Retail ModulesStoreServerpublic2016-09-20 11:482016-10-11 11:19
xabiermerino 
mtaal 
urgentmajoralways
closedfixed 
5
 
RR16Q4 
Sandrahuguet
No
0034028: [STORE SERVER 1801] JS error when you try to generate a Gift Card of the type 'reimburse'
JS error when you try to generate a Gift Card of the type 'reimburse'

a3a190f…_WebPOS.js:153 TypeError: Cannot read property 'cardNumber' of undefined
    at a3a190f…_WebPOS.js:3385
    at a3a190f…_WebPOS.js:64
    at serviceSuccess (a3a190f…_WebPOS.js:48)
    at Object.success [as origSuccess] (a3a190f…_WebPOS.js:58)
    at callback (a3a190f…_WebPOS.js:92)
    at Object.ajaxRequest.success (a3a190f…_WebPOS.js:93)
    at Object.enyo.call (enyo.js:335)
    at Object.handle (enyo.js:889)
    at Object.respond (enyo.js:903)
    at Object.receive (enyo.js:1034); line: Object.OB.UTIL.showError
1.- Log into web POS (http://ec2-52-31-227-242.eu-west-1.compute.amazonaws.com/openbravo/web/org.openbravo.retail.posterminal/?terminal=21406#retail.pointofsale [^])
2.- Click on Gift Certificate menu entry
3.- Introduce data:
* Category: refund the difference
* Exporation date: tomorrow
* Amount 100
4.- Apply
5.- Realize that a JS error appears
SER-QA
png Selection_138.png (419,778) 2016-09-20 13:30
https://issues.openbravo.com/file_download.php?file_id=9839&type=bug
Issue History
2016-09-20 11:48xabiermerinoNew Issue
2016-09-20 11:48xabiermerinoAssigned To => StoreServer
2016-09-20 11:48xabiermerinoResolution time => 1475532000
2016-09-20 11:48xabiermerinoTriggers an Emergency Pack => No
2016-09-20 11:48xabiermerinoTag Attached: SER-QA
2016-09-20 12:47xabiermerinoSummary[STORE SERVER 1801] => [STORE SERVER 1801] JS error when you try to generate a Gift Card of the type 'reimburse'
2016-09-20 12:47xabiermerinoDescription Updatedbug_revision_view_page.php?rev_id=13141#r13141
2016-09-20 12:54mtaalAssigned ToStoreServer => mtaal
2016-09-20 13:29mtaalNote Added: 0090110
2016-09-20 13:30mtaalFile Added: Selection_138.png
2016-09-21 00:47hgbotCheckin
2016-09-21 00:47hgbotNote Added: 0090128
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:10mtaalReview Assigned To => Sandrahuguet
2016-10-11 11:19SandrahuguetNote Added: 0090526
2016-10-11 11:19SandrahuguetStatusresolved => closed
2016-10-11 11:19SandrahuguetFixed in Version => RR16Q4

Notes
(0090110)
mtaal   
2016-09-20 13:29   
When used in synchronized mode the data is returned in a different way than expected. See attached screenshot.
(0090128)
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
---
(0090526)
Sandrahuguet   
2016-10-11 11:19   
Reviewed and tested