← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1491049] [NEW] Filtering by invalid version string causes 500 error

 

Public bug reported:

When I want to filter a list of artifacts by version if I provide
invalid semver string (for example, 'version=llll') then the server
returns 500 error.

request:
GET /v3/artifacts/some_type/2.0?version=llll

Stacktrace: http://paste.openstack.org/show/438140/

** Affects: glance
     Importance: Undecided
     Assignee: Mike Fedosin (mfedosin)
         Status: New


** Tags: artifacts

** Changed in: glance
     Assignee: (unassigned) => Mike Fedosin (mfedosin)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1491049

Title:
  Filtering by invalid version string causes 500 error

Status in Glance:
  New

Bug description:
  When I want to filter a list of artifacts by version if I provide
  invalid semver string (for example, 'version=llll') then the server
  returns 500 error.

  request:
  GET /v3/artifacts/some_type/2.0?version=llll

  Stacktrace: http://paste.openstack.org/show/438140/

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1491049/+subscriptions


Follow ups