Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031485Retail ModulesWeb POSpublic2015-11-15 13:382016-01-29 08:48
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR16Q1RR16Q1 
marvintm
No
0031485: Exception in performance build as movement date was not set from client json
The performance build [1] was encountering an exception because it does not set the movement and accounting date in the json.

The movement and accounting date were not set anymore in the Orderloader due to this changeset:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/313d4d998474#l1.8 [^]

[1]
https://ci.openbravo.com/view/retail/job/ret-performance-pgsql/647/ [^]
Remove the movement and accounting date from the json when sending it to the server. See that the orderloader gets into an exception. You can use the attached json and enter an import entry with it to reproduce the error.

Set the movement and accounting date if it was not set from the json.
No tags attached.
related to defect 0031258RR16Q1 closed marvintm Goods Shipment related with a layaway order should be created with the date when the layaway was paid in full. 
depends on backport 0031880RR15Q4.2 closed Retail Exception in performance build as movement date was not set from client json 
depends on backport 0031881RR15Q3.4 closed jorge-garcia Exception in performance build as movement date was not set from client json 
txt exception.txt (21,500) 2015-11-15 13:38
https://issues.openbravo.com/file_download.php?file_id=8723&type=bug
? order.json (15,019) 2015-11-15 13:39
https://issues.openbravo.com/file_download.php?file_id=8724&type=bug
Issue History
2015-11-15 13:38mtaalNew Issue
2015-11-15 13:38mtaalAssigned To => mtaal
2015-11-15 13:38mtaalFile Added: exception.txt
2015-11-15 13:38mtaalTriggers an Emergency Pack => No
2015-11-15 13:39mtaalFile Added: order.json
2015-11-15 13:39mtaalSummaryWhen creating ticket set shipment and accounting date in orderloader when not set from json => Exception in performance build as movement date was not set from client json
2015-11-15 13:39mtaalRelationship addedrelated to 0031258
2015-11-15 13:43mtaalReview Assigned To => marvintm
2015-11-15 13:44hgbotCheckin
2015-11-15 13:44hgbotNote Added: 0081856
2015-11-15 13:44hgbotStatusnew => resolved
2015-11-15 13:44hgbotResolutionopen => fixed
2015-11-15 13:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a42d8f1e46838f86e9b508032963e7dc45e8db5b [^]
2015-11-16 09:01marvintmStatusresolved => closed
2015-11-16 09:01marvintmFixed in Version => RR16Q1
2016-01-14 09:56guilleaerStatusclosed => new
2016-01-14 09:56guilleaerResolutionfixed => open
2016-01-14 09:56guilleaerFixed in VersionRR16Q1 =>
2016-01-14 09:56guilleaerStatusnew => scheduled
2016-01-14 09:56guilleaerStatusscheduled => resolved
2016-01-14 09:56guilleaerFixed in Version => RR16Q1
2016-01-14 09:56guilleaerResolutionopen => fixed
2016-01-14 09:56guilleaerStatusresolved => closed
2016-01-29 08:48hgbotCheckin
2016-01-29 08:48hgbotNote Added: 0083705

Notes
(0081856)
hgbot   
2015-11-15 13:44   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a42d8f1e46838f86e9b508032963e7dc45e8db5b
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Nov 15 13:43:55 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a42d8f1e46838f86e9b508032963e7dc45e8db5b [^]

Fixes issue 31485: Exception in performance build as movement date was not set from client json
Set the movemement/accounting date in the shipment if not set from the client

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0083705)
hgbot   
2016-01-29 08:48   
Repository: retail/backports/3.0RR15Q4.2/org.openbravo.retail.posterminal
Changeset: 8a2e5c27c759a88baa1952987bcc350187108ee7
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Nov 15 13:43:55 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.2/org.openbravo.retail.posterminal/rev/8a2e5c27c759a88baa1952987bcc350187108ee7 [^]

Fixes issue 31880, backport of issue 31485: Exception in performance build as movement date was not set from client json
Set the movemement/accounting date in the shipment if not set from the client

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---