Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018913Openbravo ERPA. Platformpublic2011-10-27 17:372011-11-04 13:57
shuehner 
mtaal 
urgentmajorhave not tried
closedfixed 
5
 
3.0MP53.0MP5 
Core
No
0018913: New-in-grid + save fails in Sales Order if optional audit column 'updated' is shown
When adding the 'updated' timestamp column to the grid and then using 'new in grid' to enter a new sales order the 'Save' action fails.

Error to the user:
"Exception when updating Order(null)"

Stacktrace in error log:
2841173 [http-8080-5] ERROR org.openbravo.service.json.DefaultJsonDataService - Exception when updating Order(null)
org.openbravo.base.exception.OBException: Exception when updating Order(null)
    at org.openbravo.service.json.JsonToDataConverter.setData(JsonToDataConverter.java:370)
    at org.openbravo.service.json.JsonToDataConverter.toBaseOBObject(JsonToDataConverter.java:332)
    at org.openbravo.service.json.DefaultJsonDataService.update(DefaultJsonDataService.java:395)
    at org.openbravo.service.datasource.DefaultDataSourceService.update(DefaultDataSourceService.java:164)
    at org.openbravo.service.datasource.DataSourceServlet.doPut(DataSourceServlet.java:648)
Open Sales Order window in grid mode
Show extra column 'updated'
Click 'new in grid'
Select some business partner
Click Save
Notice save fails with the error mentioned above.
Regression QA
Issue History
2011-10-27 17:37shuehnerNew Issue
2011-10-27 17:37shuehnerAssigned To => mtaal
2011-10-27 17:37shuehnerModules => Core
2011-10-27 17:37shuehnerTag Attached: Regression QA
2011-10-27 20:34mtaalStatusnew => scheduled
2011-10-27 20:34mtaalfix_in_branch => pi
2011-10-27 20:35hgbotCheckin
2011-10-27 20:35hgbotNote Added: 0042178
2011-10-27 20:35hgbotStatusscheduled => resolved
2011-10-27 20:35hgbotResolutionopen => fixed
2011-10-27 20:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3da1eced48b25818ab5110a7cf41a7aa0d0d98a7 [^]
2011-10-27 20:35hgbotCheckin
2011-10-27 20:35hgbotNote Added: 0042182
2011-10-27 20:35hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/3da1eced48b25818ab5110a7cf41a7aa0d0d98a7 [^] => http://code.openbravo.com/erp/devel/pi/rev/490e626bad9801d19cfacc2af82f31ccdedecdca [^]
2011-11-02 11:25AugustoMauchStatusresolved => closed
2011-11-02 11:25AugustoMauchFixed in Version => 3.0MP5
2011-11-04 13:57hudsonbotCheckin
2011-11-04 13:57hudsonbotNote Added: 0042586
2011-11-04 13:57hudsonbotCheckin
2011-11-04 13:57hudsonbotNote Added: 0042590

Notes
(0042178)
hgbot   
2011-10-27 20:35   
Repository: erp/devel/pi
Changeset: 3da1eced48b25818ab5110a7cf41a7aa0d0d98a7
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Oct 27 19:44:08 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3da1eced48b25818ab5110a7cf41a7aa0d0d98a7 [^]

Fixes issue 18913 New-in-grid + save fails in Sales Order if optional

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonToDataConverter.java
---
(0042182)
hgbot   
2011-10-27 20:35   
Repository: erp/devel/pi
Changeset: 490e626bad9801d19cfacc2af82f31ccdedecdca
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Oct 27 20:34:21 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/490e626bad9801d19cfacc2af82f31ccdedecdca [^]

Fixes issue 18889: Add an excel mode to the XML webservices
Fixes issue 18913: New-in-grid + save fails in Sales Orde

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonToDataConverter.java
M src/org/openbravo/service/rest/DalWebService.java
A src/org/openbravo/dal/xml/EntityExcelXMLConverter.java
---
(0042586)
hudsonbot   
2011-11-04 13:57   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d10da320df2a [^]

Maturity status: Test
(0042590)
hudsonbot   
2011-11-04 13:57   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d10da320df2a [^]

Maturity status: Test