Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #33073 All Revisions ] Back to Issue ]
Summary 0033073: Where parameter can not be used in JSON webservices
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
Powered by Mantis Bugtracker