is_global == 1 don't work with postgresql
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Undecided
|
Ziad Sawalha |
Bug Description
With the current trunk
In keystone/
189 filter(
Give this error with postgresql as backend:
File "/usr/lib/
cursor.
ProgrammingError: (ProgrammingError) operator does not exist: boolean = integer
LINE 4: WHERE endpoint_
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
I think True should be use instead of 1
Changed in keystone: | |
assignee: | nobody → Ziad Sawalha (ziad-sawalha) |
milestone: | none → essex-2 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | essex-2 → 2012.1 |
Reviewed: https:/ /review. openstack. org/2107 github. com/openstack/ keystone/ commit/ ef50a3353292265 846e9276db0d0b9 8753ee8945
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit ef50a3353292265 846e9276db0d0b9 8753ee8945
Author: Ziad Sawalha <email address hidden>
Date: Tue Dec 6 12:44:09 2011 -0600
Change is_global == 1 to is_global == True
Fixes bug 892429 - which correctly points out incorrect use of integer 1 instead of boolean True
Change-Id: I360ba8275ca3e6 7af6b99a7859421 aa2e3c0d2bc