The API returns an invalid error message, if an unknown field name is specified in the params of the simple query
Bug #1294628 reported by
Ildiko Vancsa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Ildiko Vancsa | ||
Havana |
Fix Released
|
Medium
|
Ildiko Vancsa |
Bug Description
If the following simple query is sent to the API:
q=[{'field': 'non_valid_key',
'op': 'lt',
'value': 42}]
the following error message is received:
u"Invalid input for field/attribute op. Value: 'lt'. unimplemented operator for non_valid_key"
instead of:
u'Unknown argument: "non_valid_key": unrecognized field in query: [<Query u\'non_valid_key\' lt u\'42\' None>], valid keys: set([\'resource\', \'end\', \'start\', \'metaquery\', \'end_timestamp
Changed in ceilometer: | |
importance: | Undecided → Medium |
assignee: | nobody → Ildiko Vancsa (ildiko-vancsa) |
milestone: | none → icehouse-rc1 |
description: | updated |
summary: |
- The APi returns an invalid error message, if an unknown field name is + The API returns an invalid error message, if an unknown field name is specified in the params of the simple query |
Changed in ceilometer: | |
status: | New → Triaged |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/82110
Review: https:/