Notes |
|
(0086857)
|
hgbot
|
2016-05-31 12:03
|
|
Repository: erp/devel/pi
Changeset: 468a1d34cac5286b8ef079733241dafffc7e7757
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Mon May 30 15:28:06 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/468a1d34cac5286b8ef079733241dafffc7e7757 [^]
Fixed issue 33073: It was not possible to use _where param in JSON webservices
It was not possible to filter using the "_where" parameter. The "whereAndFilterClause"
parameter was needed instead.
This was not correct because in the Webservices we must mantain the use of the "_where"
parameter to filter the data.
This has been fixed in the "JSONRestServlet" class. Before calling the fetch method, the
"whereAndFilterClause" has been overwritten with the value of the "_where" parameter. Now
when a user uses "_where" in a query of a JSON webService, that value will be set in the
"whereAndFilterClause" parameter and will work properly.
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonRestServlet.java
---
|
|
|
(0086858)
|
hgbot
|
2016-05-31 12:03
|
|
Repository: erp/devel/pi
Changeset: ec9932c34210bf64b06e6087fd6e70306eff5938
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Mon May 30 17:26:21 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ec9932c34210bf64b06e6087fd6e70306eff5938 [^]
Related to issue 33073: A test has been added.
A test that checks the correct behavior has been added.
---
M src-test/src/org/openbravo/test/AllWebserviceTests.java
A src-test/src/org/openbravo/test/webservice/JSONWebServicesWhereParameter.java
---
|
|
|
|
|
|
|
|
|
|
|
|
(0089529)
|
hgbot
|
2016-08-30 09:50
|
|
Repository: erp/devel/pi
Changeset: 4ec29d6fd63ca7d9ed3be1367e54825329949482
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Tue Aug 30 09:49:50 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4ec29d6fd63ca7d9ed3be1367e54825329949482 [^]
Related with issue 33073: The JSONWebServicesWhereParameter test improved
This test has been improvet to avoid null pointer exceptions in the case of not getting any data in the response.
---
M src-test/src/org/openbravo/test/webservice/JSONWebServicesWhereParameter.java
---
|
|
|
|
|