Change in ovirt-engine[master]: restapi : Throw error when the value of url 'max' param is n...

mpastern at redhat.com mpastern at redhat.com
Mon Aug 26 13:45:35 UTC 2013


Michael Pasternak has submitted this change and it was merged.

Change subject: restapi : Throw error when the value of url 'max' param is not convertible to int (#958726)
......................................................................


restapi : Throw error when the value of url 'max' param is not convertible to int (#958726)

List command with --max does not throw error message
when the value passed is not a valid integer

Change-Id: I9f2ae614f7119a2d6c0cf832cc82f305a21b63a7
Bug-Url: https://bugzilla.redhat.com/958726
Signed-off-by: Ravi Nori <rnori at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendCollectionResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BaseBackendResource.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendTagsResourceTest.java
4 files changed, 27 insertions(+), 10 deletions(-)

Approvals:
  Michael Pasternak: Looks good to me, approved
  Ravi Nori: Verified



-- 
To view, visit http://gerrit.ovirt.org/13950
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9f2ae614f7119a2d6c0cf832cc82f305a21b63a7
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>



More information about the Engine-commits mailing list