Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0025849 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| design defect | [Openbravo ERP] Z. Others | minor | always | 2014-02-26 15:58 | 2014-02-26 15:58 | |||||||
| Reporter | smola | View Status | public | |||||||||
| Assigned To | dmiguelez | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||||||
| OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||||||
| Product Version | SCM revision | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Web browser | ||||||||||||
| Modules | JSON REST Webservice | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0025849: endRow parameter on requests and responses is not consistent | |||||||||||
| Description | It seems the URL parameter _endRow and the response parameter endRow do not mean the same. The former is 1-based index and the later is 0-based. (Also note that totalRows value doesn't really look like the total results matching the current criteria...?) | |||||||||||
| Steps To Reproduce | curl --user user:pass "http://localhost/openbravo/org.openbravo.service.json.jsonrest/Country?_startRow=1&_endRow=2" [^] | json_pp { "response" : { "startRow" : 1, "status" : 0, "totalRows" : 4, "endRow" : 1, "data" : [ { // ... truncated ... } ] } } | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2014-02-26 15:58 | smola | New Issue | |
| 2014-02-26 15:58 | smola | Assigned To | => dmiguelez |
| 2014-02-26 15:58 | smola | Modules | => JSON REST Webservice |
| 2014-02-26 15:58 | smola | Triggers an Emergency Pack | => No |
| Copyright © 2000 - 2009 MantisBT Group |