Bug 880497
Summary: | User column is always empty on Recipe Systems page | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
Component: | web UI | Assignee: | Raymond Mancy <rmancy> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Qixiang Wan <qwan> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.9 | CC: | asaha, dcallagh, ebaak, jburke, llim, qwan, rglasz, rmancy |
Target Milestone: | 0.12 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | UX | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-04-11 04:55:49 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: |
Description
Dan Callaghan
2012-11-27 07:35:58 UTC
Ok this is because bool(<element_instance) returns the value __len__() which is the _children attribute. (Pdb) print d_[0].user and d_[0].user.email_link or None None (Pdb) print d_[0].user.email_link <Element a at 4d78250> (Pdb) print bool(d_[0].user.email_link) False (Pdb) len(d_[0].user.email_link) 0 (Pdb) len(d_[0].user.email_link._children) 0 Verified with beaker-0.11.3-1.git.187.dac7008.el6. While a system is using by a user, queue a job on it, user column is not empty now. Beaker 0.12 has been released. |