Bug 1472070
| Summary: | distros grid search for "Tag is not" gives 500 Internal Server Error: AttributeError: 'module' object has no attribute 'distro_table' | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
| Component: | general | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Anwesha Chatterjee <achatter> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | achatter, dcallagh, mjia, rjoost |
| Target Milestone: | 24.4 | Keywords: | Patch, Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-10-03 03:57:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
https://gerrit.beaker-project.org/5743 This would have been a regression in 0.16. Verified that "Tag is not" distros grid search does not return 500 Server Error and instead returns distros matching the search criteria as expected. Beaker 24.4 has been released. |
Version-Release number of selected component (if applicable): 24.3 How reproducible: easily Steps to Reproduce: 1. From the menu: Distros -> All 2. Show Search Options 3. Table = Tag, Operation = is not, Value = <anything> 4. Search Actual results: 500 Expected results: should return matching distros Additional info: Error was found by pylint, while I was working on enabling attribute checking. File "/usr/lib/python2.6/site-packages/bkr/server/search_utility.py", line 1229, in tag_is_not_filter return not_(model.distro_table.c.id.in_(ids)) AttributeError: 'module' object has no attribute 'distro_table'