← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1517935] Re: Filtering by 'created_at' and 'updated_at' when specify invalid operator causes 500 error

 

** Changed in: glance
       Status: Fix Committed => Fix Released

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

Title:
  Filtering by 'created_at' and 'updated_at' when specify invalid
  operator causes 500 error

Status in Glance:
  Fix Released

Bug description:
  ENVIRONMENT: devstack, Glance (master, 19.11.2015)

  STEPS TO REPRODUCE:
  send request
      curl -H "X-Auth-Token: token" -X GET http://localhost:9292/v2/images?updated_at=invalid_operator:100 -i
  or
      curl -H "X-Auth-Token: token" -X GET http://localhost:9292/v2/images?created_at=invalid_operator:100 -i

  EXPECTED RESULT:
  status code 400 and message error

  ACTUAL RESULT:
  <html>
   <head>
    <title>500 Internal Server Error</title>
   </head>
   <body>
    <h1>500 Internal Server Error</h1>
    The server has either erred or is incapable of performing the requested operation.<br /><br />

   </body>
  </html

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


References