Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023432Openbravo ERPA. Platformpublic2013-03-29 13:272013-04-01 18:58
dbaz 
dbaz 
immediateminoralways
closedfixed 
5
 
3.0MP22 
dbaz
Core
No
0023432: API change - Added parameters to "doPostInsert" and "doPostUpdate" in DefaultJsonDataServide.java
Added "originalToInsert" and "originalToUpdate" parameters to "doPostInsert" and "doPostUpdate" in DefaultJsonDataServide.java

These methods were built two MPs ago
https://code.openbravo.com/erp/devel/pi/rev/0846e40dec50 [^]
to allow a standard datasource do pre and post actions after fetch/insert/update/remove.

In the postInsert/Update only there were available to use the current inserted or updated parameters, but not the originally passed one to the datasource. With this, also the original parameters can be used too.

It is used (by the moment) only in coworking modules, so the risk is low.

.
No tags attached.
Issue History
2013-03-29 13:27dbazNew Issue
2013-03-29 13:27dbazAssigned To => AugustoMauch
2013-03-29 13:27dbazModules => Core
2013-03-29 13:27dbazTriggers an Emergency Pack => No
2013-03-29 13:28dbazAssigned ToAugustoMauch => iciordia
2013-03-30 12:18iciordiaNote Added: 0057537
2013-03-30 12:18iciordiaAssigned Toiciordia => dbaz
2013-03-30 17:37hgbotCheckin
2013-03-30 17:37hgbotNote Added: 0057538
2013-03-30 18:41hgbotCheckin
2013-03-30 18:41hgbotNote Added: 0057539
2013-03-30 18:41hgbotStatusnew => resolved
2013-03-30 18:41hgbotResolutionopen => fixed
2013-03-30 18:41hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/0eb8e298d7fa7d80f31841f8d637ec7390c886c3 [^]
2013-03-30 18:41dbazReview Assigned To => dbaz
2013-03-30 18:41dbazStatusresolved => closed
2013-03-30 18:41dbazFixed in Version => 3.0MP22
2013-04-01 18:58hudsonbotCheckin
2013-04-01 18:58hudsonbotNote Added: 0057553

Notes
(0057537)
iciordia   
2013-03-30 12:18   
Approved

Ismael
(0057538)
hgbot   
2013-03-30 17:37   
Repository: erp/devel/pi
Changeset: 4ff12360eb74f83e793a603c02c5b5fe2406db8a
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Sat Mar 30 17:37:33 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4ff12360eb74f83e793a603c02c5b5fe2406db8a [^]

[calendar] Related to issue 23432: Changed API in doPostXX functions
in DefaultJsonDataService.java to get also original arguments

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
---
(0057539)
hgbot   
2013-03-30 18:41   
Repository: erp/devel/api-checks
Changeset: 0eb8e298d7fa7d80f31841f8d637ec7390c886c3
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Sat Mar 30 18:40:46 2013 +0100
URL: http://code.openbravo.com/erp/devel/api-checks/rev/0eb8e298d7fa7d80f31841f8d637ec7390c886c3 [^]

Fixed issue 23432: int-api 3849 fail

---
M java/reference/java.japi.gz
---
(0057553)
hudsonbot   
2013-04-01 18:58   
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/80299f4b6436 [^]

Maturity status: Test