Bug 844159 - Ovirt Rest API - empty 'from' parameter in search causes the error
Summary: Ovirt Rest API - empty 'from' parameter in search causes the error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Michael Pasternak
QA Contact: Elena
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-29 12:59 UTC by Elena
Modified: 2016-02-10 19:38 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-02 09:22:18 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Elena 2012-07-29 12:59:28 UTC
api/events;from=?search=istein%20type%3D852

engine.log:
2012-07-29 12:23:51,436 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendCollectionResource] (http-/0.0.0.0:8080-60) Unwrapping of 'from' search parameter failed.: java.lang.NumberFormatException: For input string: ""
 at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)

Comment 1 Oded Ramraz 2012-07-30 06:37:48 UTC
This issue is not a low severity since it is flooding the logs and makes debug process harder.

Comment 2 Michael Pasternak 2012-08-02 09:22:18 UTC
by design, the issue that causing log flood is absence of valid int 
in /from parameter, please fix your tests


Note You need to log in before you can comment on or make changes to this bug.