Notes |
|
(0071795)
|
hgbot
|
2014-11-18 22:11
|
|
Repository: erp/devel/pi
Changeset: cf6e3f98cd6c3686895e65fca50dcb0dc03823a9
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Nov 18 22:10:10 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cf6e3f98cd6c3686895e65fca50dcb0dc03823a9 [^]
Fixes issue 28214: _selectedProperties parameter work in JSON REST webservice
In a call to the Openbravo JSON REST webservice, the _selectedProperties parameter allows the user to specify the set of properties whose values should be returned by the webservice. This property was working properly when an ID is specified in the request, but not if it is not specified.
This stopped working because of this issue [1]. [1] implements a new method to handlle the case when the ID is not specified to improve the performance, but its missing the handling of _selectedProperties.
[1] https://code.openbravo.com/erp/devel/pi/rev/c171ecac2673 [^]
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
---
|
|
|
(0071888)
|
hgbot
|
2014-11-21 14:27
|
|
Repository: erp/devel/pi
Changeset: 4fb0bc73284650b33e3e02b4a49638cf6ca6d8c7
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Nov 21 14:25:25 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4fb0bc73284650b33e3e02b4a49638cf6ca6d8c7 [^]
related to bug 28214: added test case
---
M src-test/src/org/openbravo/test/AllWebserviceTests.java
A src-test/src/org/openbravo/test/webservice/JSONWebServices.java
---
|
|
|
|
code reviewed
tested
added automated test case |
|
|
|
|
|
|
|