Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029164Retail ModulesQuotationspublic2015-03-06 10:452015-04-16 13:23
malsasua 
malsasua 
normalmajorsometimes
closedfixed 
20Community Appliance
 
 
adrianromero
Production - QA Approved
No
0029164: 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
No tags attached.
related to design defect 0028694 closed Orekaria The creationDate is not part of the receipt attributes 
depends on backport 0029537RR15Q2 closed malsasua quotations are not synced: creationdate is null 
depends on backport 0029538RR15Q1.3 closed marvintm quotations are not synced: creationdate is null 
related to defect 0030472RR15Q4 closed Orekaria Stabilization: Sometimes the incoming 'creationDate' is not correct 
diff diff29164.diff (958) 2015-03-06 10:54
https://issues.openbravo.com/file_download.php?file_id=7858&type=bug
diff issue28694.diff (6,845) 2015-03-10 20:16
https://issues.openbravo.com/file_download.php?file_id=7880&type=bug
txt diffQuotations.txt (732) 2015-03-24 12:11
https://issues.openbravo.com/file_download.php?file_id=7931&type=bug
Issue History
2015-03-06 10:45malsasuaNew Issue
2015-03-06 10:45malsasuaAssigned To => marvintm
2015-03-06 10:45malsasuaTriggers an Emergency Pack => No
2015-03-06 10:50malsasuaNote Added: 0075232
2015-03-06 10:54malsasuaNote Added: 0075233
2015-03-06 10:54malsasuaFile Added: diff29164.diff
2015-03-10 20:16malsasuaFile Added: issue28694.diff
2015-03-13 21:13OrekariaRelationship addedrelated to 0028694
2015-03-16 10:03malsasuaRegression level => Production - QA Approved
2015-03-24 12:11malsasuaFile Added: diffQuotations.txt
2015-04-09 09:29malsasuaStatusnew => scheduled
2015-04-09 09:29malsasuaAssigned Tomarvintm => malsasua
2015-04-09 09:33hgbotCheckin
2015-04-09 09:33hgbotNote Added: 0076394
2015-04-09 09:33hgbotStatusscheduled => resolved
2015-04-09 09:33hgbotResolutionopen => fixed
2015-04-09 09:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3c4d90443a12e1023acf6ab3165e86b95bf537fb [^]
2015-04-09 09:51hgbotCheckin
2015-04-09 09:51hgbotNote Added: 0076403
2015-04-09 09:51hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3c4d90443a12e1023acf6ab3165e86b95bf537fb [^] => http://code.openbravo.com/retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal/rev/3c4d90443a12e1023acf6ab3165e86b95bf537fb [^]
2015-04-09 10:27hgbotCheckin
2015-04-09 10:27hgbotNote Added: 0076404
2015-04-09 10:27hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal/rev/3c4d90443a12e1023acf6ab3165e86b95bf537fb [^] => http://code.openbravo.com/retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal/rev/6e8dde1267beddd68a400430e21689f5e8d6e75c [^]
2015-04-16 13:23adrianromeroReview Assigned To => adrianromero
2015-04-16 13:23adrianromeroNote Added: 0076586
2015-04-16 13:23adrianromeroStatusresolved => closed
2015-07-31 12:42OrekariaRelationship addedrelated to 0030472

Notes
(0075232)
malsasua   
2015-03-06 10:50   
it could be related with this changeset:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ae005a445625 [^]
(0075233)
malsasua   
2015-03-06 10:54   
attached a possible fix (done in RR15Q1.1)
(0076394)
hgbot   
2015-04-09 09:33   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3c4d90443a12e1023acf6ab3165e86b95bf537fb
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Thu Apr 09 09:33:31 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3c4d90443a12e1023acf6ab3165e86b95bf537fb [^]

fixed issue 29164: in sync process, if creationdate is invalid date, then is set to new date

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---
(0076403)
hgbot   
2015-04-09 09:51   
Repository: retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal
Changeset: 3c4d90443a12e1023acf6ab3165e86b95bf537fb
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Thu Apr 09 09:33:31 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal/rev/3c4d90443a12e1023acf6ab3165e86b95bf537fb [^]

fixed issue 29164: in sync process, if creationdate is invalid date, then is set to new date

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---
(0076404)
hgbot   
2015-04-09 10:27   
Repository: retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal
Changeset: 6e8dde1267beddd68a400430e21689f5e8d6e75c
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Thu Apr 09 09:33:31 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal/rev/6e8dde1267beddd68a400430e21689f5e8d6e75c [^]

fixed issue 29164: in sync process, if creationdate is invalid date, then is set to new date

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