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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025849
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] Z. Othersminoralways2014-02-26 15:582014-02-26 15:58
ReportersmolaView Statuspublic 
Assigned Todmiguelez 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesJSON REST Webservice
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025849: endRow parameter on requests and responses is not consistent

DescriptionIt 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 Reproducecurl --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 ...
         }
      ]
   }
}
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker