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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029164
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Quotationsmajorsometimes2015-03-06 10:452015-04-16 13:23
ReportermalsasuaView Statuspublic 
Assigned Tomalsasua 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision6e8dde1267be
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Toadrianromero
Regression levelProduction - QA Approved
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029164: quotations are not synced: creationdate is null

Descriptionsometimes, 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",
Steps To ReproduceIt is only reproducible sometimes...

create a quotation and sync it
TagsNo tags attached.
Attached Filesdiff file icon diff29164.diff [^] (958 bytes) 2015-03-06 10:54 [Show Content]
diff file icon issue28694.diff [^] (6,845 bytes) 2015-03-10 20:16 [Show Content]
txt file icon diffQuotations.txt [^] (732 bytes) 2015-03-24 12:11 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0028694 closedOrekaria The creationDate is not part of the receipt attributes 
depends on backport 0029537RR15Q2 closedmalsasua quotations are not synced: creationdate is null 
depends on backport 0029538RR15Q1.3 closedmarvintm quotations are not synced: creationdate is null 
related to defect 0030472RR15Q4 closedOrekaria Stabilization: Sometimes the incoming 'creationDate' is not correct 

-  Notes
(0075232)
malsasua (developer)
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 (developer)
2015-03-06 10:54

attached a possible fix (done in RR15Q1.1)
(0076394)
hgbot (developer)
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 (developer)
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 (developer)
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 (manager)
2015-04-16 13:23

Verified. No errors after several quotations synchronized to the server.

- Issue History
Date Modified Username Field Change
2015-03-06 10:45 malsasua New Issue
2015-03-06 10:45 malsasua Assigned To => marvintm
2015-03-06 10:45 malsasua Triggers an Emergency Pack => No
2015-03-06 10:50 malsasua Note Added: 0075232
2015-03-06 10:54 malsasua Note Added: 0075233
2015-03-06 10:54 malsasua File Added: diff29164.diff
2015-03-10 20:16 malsasua File Added: issue28694.diff
2015-03-13 21:13 Orekaria Relationship added related to 0028694
2015-03-16 10:03 malsasua Regression level => Production - QA Approved
2015-03-24 12:11 malsasua File Added: diffQuotations.txt
2015-04-09 09:29 malsasua Status new => scheduled
2015-04-09 09:29 malsasua Assigned To marvintm => malsasua
2015-04-09 09:33 hgbot Checkin
2015-04-09 09:33 hgbot Note Added: 0076394
2015-04-09 09:33 hgbot Status scheduled => resolved
2015-04-09 09:33 hgbot Resolution open => fixed
2015-04-09 09:33 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3c4d90443a12e1023acf6ab3165e86b95bf537fb [^]
2015-04-09 09:51 hgbot Checkin
2015-04-09 09:51 hgbot Note Added: 0076403
2015-04-09 09:51 hgbot Fixed in SCM revision http://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:27 hgbot Checkin
2015-04-09 10:27 hgbot Note Added: 0076404
2015-04-09 10:27 hgbot Fixed in SCM revision http://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:23 adrianromero Review Assigned To => adrianromero
2015-04-16 13:23 adrianromero Note Added: 0076586
2015-04-16 13:23 adrianromero Status resolved => closed
2015-07-31 12:42 Orekaria Relationship added related to 0030472


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker