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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034028
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServermajoralways2016-09-20 11:482016-10-11 11:19
ReporterxabiermerinoView Statuspublic 
Assigned Tomtaal 
PriorityurgentResolutionfixedFixed in VersionRR16Q4
StatusclosedFix in branchFixed in SCM revision96ca4c611e7e
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034028: [STORE SERVER 1801] JS error when you try to generate a Gift Card of the type 'reimburse'

DescriptionJS 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
Steps To Reproduce1.- 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
TagsSER-QA
Attached Filespng file icon Selection_138.png [^] (419,778 bytes) 2016-09-20 13:30

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0090110)
mtaal (manager)
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 (developer)
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 (developer)
2016-10-11 11:19

Reviewed and tested

- Issue History
Date Modified Username Field Change
2016-09-20 11:48 xabiermerino New Issue
2016-09-20 11:48 xabiermerino Assigned To => StoreServer
2016-09-20 11:48 xabiermerino Resolution time => 1475532000
2016-09-20 11:48 xabiermerino Triggers an Emergency Pack => No
2016-09-20 11:48 xabiermerino Tag Attached: SER-QA
2016-09-20 12:47 xabiermerino Summary [STORE SERVER 1801] => [STORE SERVER 1801] JS error when you try to generate a Gift Card of the type 'reimburse'
2016-09-20 12:47 xabiermerino Description Updated View Revisions
2016-09-20 12:54 mtaal Assigned To StoreServer => mtaal
2016-09-20 13:29 mtaal Note Added: 0090110
2016-09-20 13:30 mtaal File Added: Selection_138.png
2016-09-21 00:47 hgbot Checkin
2016-09-21 00:47 hgbot Note Added: 0090128
2016-09-21 00:47 hgbot Status new => resolved
2016-09-21 00:47 hgbot Resolution open => fixed
2016-09-21 00:47 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/96ca4c611e7e8bf506da813ac5f9c61322eab168 [^]
2016-09-25 13:10 mtaal Review Assigned To => Sandrahuguet
2016-10-11 11:19 Sandrahuguet Note Added: 0090526
2016-10-11 11:19 Sandrahuguet Status resolved => closed
2016-10-11 11:19 Sandrahuguet Fixed in Version => RR16Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker