Project:
View Revisions: Issue #34026 | [ Back to Issue ] | ||
Summary | 0034026: JSON error unexpected token in remote BP data when saving address through customer - remove unnecessary json set | ||
Revision | 2016-09-25 12:20 by mtaal | ||
Steps To Reproduce | Topic 1: Set remote BP properties Login to webpos Click on Menu Select Customers Search any customer Click on customer click on create new address Create a new address Save Note the error only occurs if you first go through the customers menu not when going through the customer/address button Topic 2: Put breakpoints in the changed locations and check what is being set in the object's json property |
||
Revision | 2016-09-25 12:19 by mtaal | ||
Steps To Reproduce | Login to webpos Click on Menu Select Customers Search any customer Click on customer click on create new address Create a new address Save Note the error only occurs if you first go through the customers menu not when going through the customer/address button |
||
Revision | 2016-09-25 12:19 by mtaal | ||
Description | Solve two issues: 1) json error when saving customer 2) unnecessary and incorrect setting of json property in object When editing and saving an address through the customer then the error ' Unexpected token o in JSON at position 1' is reported. Strack trace: ce25035…_WebPOS.js:2856 SyntaxError: Unexpected token o in JSON at position 1 at http://store1.openbravo.com:8080/openbravo/web/js/gen/ce2503585cded83ecbab0c78d4c7719d_WebPOS.js:7314:32 [^] at Array.forEach (native) at Function.b.each.b.forEach (http://store1.openbravo.com:8080/openbravo/web/org.openbravo.mobile.core/lib/vendor/underscore-1.3.3.min.js:11:39 [^]) at r.(anonymous function) [as each] (http://store1.openbravo.com:8080/openbravo/web/org.openbravo.mobile.core/lib/vendor/backbone-0.9.2.min.js:25:314 [^]) at http://store1.openbravo.com:8080/openbravo/web/js/gen/ce2503585cded83ecbab0c78d4c7719d_WebPOS.js:7312:21 [^] at processResult (http://store1.openbravo.com:8080/openbravo/web/js/gen/ce2503585cded83ecbab0c78d4c7719d_WebPOS.js:4180:11 [^]); line: Object.OB.UTIL.showError (http://store1.openbravo.com:8080/openbravo/web/js/gen/ce2503585cded83ecbab0c78d4c7719d_WebPOS.js:11173:6 [^]) (*,+)processConsoleLevel @ ce25035…_WebPOS.js:2856OB.error @ ce25035…_WebPOS.js:2886OB.UTIL.showError @ ce25035…_WebPOS.js:11173window.onerror @ ce25035…_WebPOS.js:22654 VM87:1 Uncaught SyntaxError: Unexpected token o in JSON at position 1 |
||
Revision | 2016-09-25 12:18 by mtaal | ||
Description | When editing and saving an address through the customer then the error ' Unexpected token o in JSON at position 1' is reported. Strack trace: ce25035…_WebPOS.js:2856 SyntaxError: Unexpected token o in JSON at position 1 at http://store1.openbravo.com:8080/openbravo/web/js/gen/ce2503585cded83ecbab0c78d4c7719d_WebPOS.js:7314:32 [^] at Array.forEach (native) at Function.b.each.b.forEach (http://store1.openbravo.com:8080/openbravo/web/org.openbravo.mobile.core/lib/vendor/underscore-1.3.3.min.js:11:39 [^]) at r.(anonymous function) [as each] (http://store1.openbravo.com:8080/openbravo/web/org.openbravo.mobile.core/lib/vendor/backbone-0.9.2.min.js:25:314 [^]) at http://store1.openbravo.com:8080/openbravo/web/js/gen/ce2503585cded83ecbab0c78d4c7719d_WebPOS.js:7312:21 [^] at processResult (http://store1.openbravo.com:8080/openbravo/web/js/gen/ce2503585cded83ecbab0c78d4c7719d_WebPOS.js:4180:11 [^]); line: Object.OB.UTIL.showError (http://store1.openbravo.com:8080/openbravo/web/js/gen/ce2503585cded83ecbab0c78d4c7719d_WebPOS.js:11173:6 [^]) (*,+)processConsoleLevel @ ce25035…_WebPOS.js:2856OB.error @ ce25035…_WebPOS.js:2886OB.UTIL.showError @ ce25035…_WebPOS.js:11173window.onerror @ ce25035…_WebPOS.js:22654 VM87:1 Uncaught SyntaxError: Unexpected token o in JSON at position 1 |
Copyright © 2000 - 2009 MantisBT Group |