Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031881Retail ModulesWeb POSpublic2015-11-15 13:382016-01-22 14:36
mtaal 
jorge-garcia 
normalminorhave not tried
closedfixed 
5
 
RR15Q3.4RR15Q3.4 
marvintm
No
0031881: 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.
blocks defect 0031485RR16Q1 closed mtaal Exception in performance build as movement date was not set from client json 
Issue History
2016-01-14 09:56guilleaerTypedefect => backport
2016-01-14 09:56guilleaerTarget VersionRR16Q1 => RR15Q3.5
2016-01-20 12:25marvintmTarget VersionRR15Q3.5 => RR15Q3.4
2016-01-22 10:41jorge-garciaAssigned Tomtaal => jorge-garcia
2016-01-22 10:53hgbotCheckin
2016-01-22 10:53hgbotNote Added: 0083522
2016-01-22 10:53hgbotStatusscheduled => resolved
2016-01-22 10:53hgbotResolutionopen => fixed
2016-01-22 10:53hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a42d8f1e46838f86e9b508032963e7dc45e8db5b [^] => http://code.openbravo.com/retail/backports/3.0RR15Q3.4/org.openbravo.retail.posterminal/rev/58eca94bdd7831beedf23c272d40420cadf8b4e0 [^]
2016-01-22 14:34hgbotCheckin
2016-01-22 14:34hgbotNote Added: 0083570
2016-01-22 14:36marvintmStatusresolved => closed
2016-01-22 14:36marvintmFixed in Version => RR15Q3.4

Notes
(0083522)
hgbot   
2016-01-22 10:53   
Repository: retail/backports/3.0RR15Q3.4/org.openbravo.retail.posterminal
Changeset: 58eca94bdd7831beedf23c272d40420cadf8b4e0
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Jan 22 10:37:10 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q3.4/org.openbravo.retail.posterminal/rev/58eca94bdd7831beedf23c272d40420cadf8b4e0 [^]

Fixed issue 31881: 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
---
(0083570)
hgbot   
2016-01-22 14:34   
Repository: retail/backports/3.0RR15Q3.4/org.openbravo.retail.posterminal
Changeset: c7f8cddf94f788f63b5fe7313ccb3ad1171b862c
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Jan 22 14:34:29 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q3.4/org.openbravo.retail.posterminal/rev/c7f8cddf94f788f63b5fe7313ccb3ad1171b862c [^]

Related to issue 31881. Removed part of the code which wasn't needed for the backport.

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