Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009018Openbravo ERPA. Platformpublic2009-05-13 12:572009-06-04 00:00
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
pi 
pi 
Core
No
0009018: Webservices are not using same logic as import functions for the actual update/insert of objects
The REST webservices are not using the same logic as the import functions for the actual update/insert of objects. This needs to change as the update/insert logic has some advanced parts related to:
- the correct order of insertion
- filling the reference data store
- repairing the reference columns which don't use foreign keys

So the REST webservice logic needs to use the same logic as the main import function.
No tags attached.
Issue History
2009-05-13 12:57mtaalNew Issue
2009-05-13 12:57mtaalAssigned To => mtaal
2009-05-13 12:57mtaalRegression testing => No
2009-05-13 13:08hgbotCheckin
2009-05-13 13:08hgbotNote Added: 0016318
2009-05-13 13:08hgbotStatusnew => resolved
2009-05-13 13:08hgbotResolutionopen => fixed
2009-05-13 13:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9b00912ca04b4c7bf0163c15dd6e585db4fb0749 [^]
2009-06-03 13:03psarobeStatusresolved => closed
2009-06-04 00:00anonymoussf_bug_id0 => 2800783

Notes
(0016318)
hgbot   
2009-05-13 13:08   
Repository: erp/devel/pi
Changeset: 9b00912ca04b4c7bf0163c15dd6e585db4fb0749
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed May 13 13:07:40 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9b00912ca04b4c7bf0163c15dd6e585db4fb0749 [^]

Fixes issue 9019, Mandatory/not-null not set correctly in the Data Access Layer because Application Dictionary setting not correct
Fixes issue 9018: Webservices are not using same logic as import functions for the actual update/insert of objects

---
M src/org/openbravo/base/model/ModelProvider.java
M src/org/openbravo/base/session/SessionFactoryController.java
M src/org/openbravo/dal/core/DalMappingGenerator.java
M src/org/openbravo/service/db/DataImportService.java
M src/org/openbravo/service/rest/DalWebService.java
---