Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031465Retail ModulesWeb POSpublic2015-11-08 20:062015-11-13 16:18
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR15Q4RR15Q4 
marvintm
No
0031465: Javascript error when adding a new customer and address in remote product
Run test I31196_ReassignNewCustomer in postgresql with remote data prefs to Y.

https://ci.openbravo.com/view/retail/job/ret-test-pgsql/2878/testReport/org.openbravo.test.mobile.retail.pack.selenium.tests.receipts/I31196_ReassignNewCustomer/test/ [^]


TypeError: empty is not a function
    at 256a151481c95212dc7def7698fc92a9_WebPOS.js:4185
    at serviceSuccess (256a151481c95212dc7def7698fc92a9_WebPOS.js:1028)
    at Object.enyo.Ajax.success [as origSuccess] (256a151481c95212dc7def7698fc92a9_WebPOS.js:1109)
    at Object.ajaxRequest.success (256a151481c95212dc7def7698fc92a9_WebPOS.js:1517)
    at Object.enyo.call (lang.js:354)
    at Object.enyo.kind.handle (Async.js:76)
    at Object.enyo.kind.respond (Async.js:107)
    at Object.enyo.kind.receive (Ajax.js:89)
    at XMLHttpRequest.inXhr.onreadystatechange (xhr.js:71); line: Object.OB.UTIL.showError (http://127.0.0.1:8080/openbravo/web/js/gen/256a151481c95212dc7def7698fc92a9_WebPOS.js:9813:6 [^]) (*,+)processConsoleLevel @ 256a151481c95212dc7def7698fc92a9_WebPOS.js:2467OB.error @ 256a151481c95212dc7def7698fc92a9_WebPOS.js:2497OB.UTIL.showError @ 256a151481c95212dc7def7698fc92a9_WebPOS.js:9813window.onerror @ 256a151481c95212dc7def7698fc92a9_WebPOS.js:19308
256a151481c95212dc7def7698fc92a9_WebPOS.js:4185 Uncaught TypeError: empty is not a function
See description
The error appears because of a change done in the related issue. The cause of the error was in the remote code, adding the parameter true on the wrong place.

No tags attached.
blocks defect 0031400RR16Q1 closed mtaal Javascript error when adding a new customer and address in remote product 
Issue History
2015-11-13 11:42OrekariaTypedefect => backport
2015-11-13 11:42OrekariaTarget VersionRR16Q1 => RR15Q4
2015-11-13 11:43hgbotCheckin
2015-11-13 11:43hgbotNote Added: 0081819
2015-11-13 11:43hgbotStatusscheduled => resolved
2015-11-13 11:43hgbotResolutionopen => fixed
2015-11-13 11:43hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/38ce43cc342f151f9dc4d2a62da6e92068092584 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/dd3901fc6f5776660f0a8018b41b8e10f0f3114e [^]
2015-11-13 16:18marvintmReview Assigned Tomigueldejuana => marvintm
2015-11-13 16:18marvintmStatusresolved => closed
2015-11-13 16:18marvintmFixed in Version => RR15Q4

Notes
(0081819)
hgbot   
2015-11-13 11:43   
Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: dd3901fc6f5776660f0a8018b41b8e10f0f3114e
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Nov 08 20:35:07 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/dd3901fc6f5776660f0a8018b41b8e10f0f3114e [^]

Fixes issue 31465: Javascript error when adding a new customer and address in remote product
Remove unintended parameter

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