Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029538Retail ModulesQuotationspublic2015-03-06 10:452015-04-13 17:57
malsasua 
marvintm 
normalmajorsometimes
closedfixed 
20Community Appliance
 
RR15Q1.3RR15Q1.3 
adrianromero
Production - QA Approved
No
0029538: quotations are not synced: creationdate is null
sometimes, the quotations are not synced. They are saved in error while importing data with this error:
'org.codehaus.jettison.json.JSONException: JSONObject["timezoneOffset"] is not a number.'

and json has got:
-"creationDate": null,
-"timezoneOffset": null,
-"created": null,
-"obposCreatedabsolute": "0NaN-NaN-NaN NaN:NaN:NaN.NaN",
It is only reproducible sometimes...

create a quotation and sync it
Approved
blocks defect 0029164 closed malsasua quotations are not synced: creationdate is null 
Issue History
2015-04-09 09:29malsasuaTypedefect => backport
2015-04-09 09:29malsasuaTarget Version => RR15Q1.3
2015-04-09 10:40dmitry_mezentsevTag Attached: Approved
2015-04-09 10:41hgbotCheckin
2015-04-09 10:41hgbotNote Added: 0076406
2015-04-09 10:41hgbotStatusscheduled => resolved
2015-04-09 10:41hgbotResolutionopen => fixed
2015-04-09 10:41hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q1.3/org.openbravo.retail.posterminal/rev/5044c5e52ddfe8f6d44de29e55dc38f701340d93 [^]
2015-04-13 17:57adrianromeroReview Assigned To => adrianromero
2015-04-13 17:57adrianromeroNote Added: 0076500
2015-04-13 17:57adrianromeroStatusresolved => closed
2015-04-13 17:57adrianromeroFixed in Version => RR15Q1.3

Notes
(0076406)
hgbot   
2015-04-09 10:41   
Repository: retail/backports/3.0RR15Q1.3/org.openbravo.retail.posterminal
Changeset: 5044c5e52ddfe8f6d44de29e55dc38f701340d93
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Thu Apr 09 10:41:05 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q1.3/org.openbravo.retail.posterminal/rev/5044c5e52ddfe8f6d44de29e55dc38f701340d93 [^]

fixed issue 29538: check if the creation date is 'Invalid Date' in sync process

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---
(0076500)
adrianromero   
2015-04-13 17:57   
Verified. No errors after several quotations synchronized to the server.