Public bug reported: 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 ** Affects: glance Importance: Undecided Assignee: Darja Shakhray (dshakhray) Status: New ** Changed in: glance Assignee: (unassigned) => Darja Shakhray (dshakhray) -- 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: New 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp