Project:
View Revisions: Issue #33073 | [ Back to Issue ] | ||
Summary | 0033073: Where parameter can not be used in JSON webservices | ||
Revision | 2016-05-30 10:58 by caristu | ||
Description | The _where parameter is not working in standard JSON webservices[1]. Now, to enter a where clause the whereAndFilterClause parameter is used instead. [1] http://wiki.openbravo.com/wiki/JSON_REST_Web_Services#GET [^] |
||
Revision | 2016-05-30 10:56 by caristu | ||
Description | The _where parameter is not working in standard JSON webservices. Now, to enter a where clause the whereAndFilterClause parameter is used instead. | ||
Revision | 2016-05-30 10:55 by caristu | ||
Steps To Reproduce | 1) In a version before this changeset[1] try the following WS call: http://localhost:8080/openbravo/org.openbravo.service.json.jsonrest/Country?_where=name='Spain' [^] Notice that the data is filtered properly. 2) In current pi version try the following WS call: http://localhost:8080/openbravo/org.openbravo.service.json.jsonrest/Country?_where=name='Spain' [^] Data is not filtered. The following WS call must be done instead: http://localhost:8080/openbravo/org.openbravo.service.json.jsonrest/Country?whereAndFilterClause=name='Spain' [^] [1] https://code.openbravo.com/erp/devel/pi/rev/69d2b535ae86 [^] |
||
Revision | 2016-05-30 10:54 by caristu | ||
Steps To Reproduce | 1) In a version before this changeset[1] try the following WS call: "http://localhost:8080/openbravo/org.openbravo.service.json.jsonrest/Product?_where=name='Agua [^] sin Gas 1L'" Notice that the data is filtered properly. 2) In current pi version try the following WS call: http://localhost:8080/openbravo/org.openbravo.service.json.jsonrest/Product?_where=name='Agua [^] sin Gas 1L' Data is not filtered. The following WS call must be done instead: http://localhost:8080/openbravo/org.openbravo.service.json.jsonrest/Product?whereAndFilterClause=name='Agua [^] sin Gas 1L' [1] https://code.openbravo.com/erp/devel/pi/rev/69d2b535ae86 [^] |
||
Revision | 2016-05-30 10:53 by caristu | ||
Steps To Reproduce | 1) In a version before this changeset[1] try the following WS call: http://localhost:8080/openbravo/org.openbravo.service.json.jsonrest/Product?_where=name='Agua [^] sin Gas 1L' Notice that the data is filtered properly. 2) In current pi version try the following WS call: http://localhost:8080/openbravo/org.openbravo.service.json.jsonrest/Product?_where=name='Agua [^] sin Gas 1L' Data is not filtered. The following WS call must be done instead: http://localhost:8080/openbravo/org.openbravo.service.json.jsonrest/Product?whereAndFilterClause=name='Agua [^] sin Gas 1L' [1] https://code.openbravo.com/erp/devel/pi/rev/69d2b535ae86 [^] |
Copyright © 2000 - 2009 MantisBT Group |