Bug 694352

Summary: beakerd barfs on empty <and/>
Product: [Retired] Beaker Reporter: Raymond Mancy <rmancy>
Component: schedulerAssignee: Bill Peck <bpeck>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 0.6CC: bpeck, dcallagh, ebaak, mcsontos, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-08 05:50:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raymond Mancy 2011-04-07 05:18:36 UTC
Due to a change in how the query is constructed, sqla is producing incorrect SQL when given and empty and_() clause.

Comment 1 Raymond Mancy 2011-04-07 05:19:42 UTC
Fix is to return None instead of empty and_() clause.

Comment 2 Dan Callaghan 2011-04-08 05:50:24 UTC
http://git.fedorahosted.org/git/?p=beaker.git;a=commitdiff;h=d3bfef1f1c00149e9767a577b32c327a86903a52

Released as Beaker 0.6.8-3 hotfix yesterday.