Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020357Openbravo ERPA. Platformpublic2012-04-26 11:572012-05-03 09:52
iperdomo 
iperdomo 
urgentminoralways
closedfixed 
303.2.7-1-ARCH
 
3.0MP11 
Google Chrome
Core
No
0020357: There should be a way to define with properties i want to export in a EntityXMLConverter call
When using the EntityXMLConverter you can define to include or not child objects, but there is no way to filter out only some properties of the object.


Example:
From the BusinessPatner entity I only want the id and identifier, using the EntityXMLConverter, there is no way to define it.

Follow the steps to create a REST XML webservice and try to only expose the id and identifier of the entity

More info:
http://wiki.openbravo.com/wiki/How_to_create_a_new_REST_webservice [^]
No tags attached.
Issue History
2012-04-26 11:57iperdomoNew Issue
2012-04-26 11:57iperdomoAssigned To => iperdomo
2012-04-26 11:57iperdomoWeb browser => Google Chrome
2012-04-26 11:57iperdomoModules => Core
2012-04-27 09:41hgbotCheckin
2012-04-27 09:41hgbotNote Added: 0048124
2012-04-27 09:41hgbotStatusnew => resolved
2012-04-27 09:41hgbotResolutionopen => fixed
2012-04-27 09:41hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d70218caa06239278ae957478dbfcb3ff6d256da [^]
2012-04-27 09:41hgbotCheckin
2012-04-27 09:41hgbotNote Added: 0048125
2012-04-28 02:31hudsonbotCheckin
2012-04-28 02:31hudsonbotNote Added: 0048172
2012-04-28 02:31hudsonbotCheckin
2012-04-28 02:31hudsonbotNote Added: 0048173
2012-04-30 15:37hgbotCheckin
2012-04-30 15:37hgbotNote Added: 0048200
2012-05-01 13:54hudsonbotCheckin
2012-05-01 13:54hudsonbotNote Added: 0048209
2012-05-03 09:52mtaalNote Added: 0048304
2012-05-03 09:52mtaalStatusresolved => closed
2012-05-03 09:52mtaalFixed in Version => 3.0MP11

Notes
(0048124)
hgbot   
2012-04-27 09:41   
Repository: erp/devel/pi
Changeset: d70218caa06239278ae957478dbfcb3ff6d256da
Author: Asier Galdos <asier.galdos <at> almis.com>
Date: Thu Apr 26 17:05:23 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d70218caa06239278ae957478dbfcb3ff6d256da [^]

Fixes issue 20357: Support for property filtering in EntityXMLConverter

---
M src/org/openbravo/dal/xml/EntityXMLConverter.java
---
(0048125)
hgbot   
2012-04-27 09:41   
Repository: erp/devel/pi
Changeset: 054ca3ab4a6376f0d571dd20c34920e08ff5292d
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Apr 27 09:39:49 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/054ca3ab4a6376f0d571dd20c34920e08ff5292d [^]

Related to issue 20357: Added simple test, filtering product xml by id and name

---
M src-test/org/openbravo/test/xml/EntityXMLIssues.java
---
(0048172)
hudsonbot   
2012-04-28 02:31   
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/cd923b317af4 [^]

Maturity status: Test
(0048173)
hudsonbot   
2012-04-28 02:31   
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/cd923b317af4 [^]

Maturity status: Test
(0048200)
hgbot   
2012-04-30 15:37   
Repository: erp/devel/pi
Changeset: 89fc52d659eff8c8e7ec674e46c1939a755a737f
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Apr 30 15:35:55 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/89fc52d659eff8c8e7ec674e46c1939a755a737f [^]

Related to issue 20357: Fixes testcase after code review

---
M src-test/org/openbravo/test/xml/EntityXMLIssues.java
---
(0048209)
hudsonbot   
2012-05-01 13:54   
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/f1c4b6312aa1 [^]

Maturity status: Test
(0048304)
mtaal   
2012-05-03 09:52   
Reviewed