Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031880Retail ModulesWeb POSpublic2015-11-15 13:382016-02-02 19:29
mtaal 
Retail 
normalminorhave not tried
closedfixed 
5
 
RR15Q4.2RR15Q4.2 
guilleaer
No
0031880: 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 => RR15Q4.2
2016-01-27 17:42OrekariaAssigned Tomtaal => Orekaria
2016-01-27 17:42OrekariaAssigned ToOrekaria => Retail
2016-01-29 08:48hgbotCheckin
2016-01-29 08:48hgbotNote Added: 0083706
2016-01-29 08:48hgbotStatusscheduled => resolved
2016-01-29 08:48hgbotResolutionopen => fixed
2016-01-29 08:48hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a42d8f1e46838f86e9b508032963e7dc45e8db5b [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4.2/org.openbravo.retail.posterminal/rev/8a2e5c27c759a88baa1952987bcc350187108ee7 [^]
2016-02-02 19:29guilleaerReview Assigned Tomarvintm => guilleaer
2016-02-02 19:29guilleaerStatusresolved => closed
2016-02-02 19:29guilleaerFixed in Version => RR15Q4.2

Notes
(0083706)
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
---