Bug 955868 - XML Filtering by System's added date using __eq__ is broken
Summary: XML Filtering by System's added date using __eq__ is broken
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.13
Assignee: Amit Saha
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-24 02:24 UTC by Amit Saha
Modified: 2018-02-06 00:41 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-25 06:26:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Amit Saha 2013-04-24 02:24:29 UTC
Description of problem:

XML filtering with System's date added field is broken when used with the '=' operator. For example:

<system>
		<added op="=" value="2010-10-27"/>
</system>

fails to return any systems even though there are systems which were added on that date.

The Web search UI functions correctly though.

Version-Release number of selected component (if applicable):

0.12.1

How reproducible:


Steps to Reproduce:
1. Add the above filter with an appropriate date
2. Submit job
3.
  
Actual results:

Recipe aborted not finding any matching systems


Expected results:

Picks one of the systems added on the mentioned date.

Additional info:

Comment 2 Amit Saha 2013-04-24 06:21:08 UTC
On Gerrit: http://gerrit.beaker-project.org/#/c/1896

Comment 7 xjia 2013-05-30 03:12:22 UTC
My fault, please ignore #comment6

Comment 8 Xin Zhang 2013-05-30 03:18:19 UTC
Verified.Submit a job via job xml with
<system>
		<added op="=" value="2012-11-05"/>
</system>
successfully choose system dev-kvm-guest-08.rhts.eng.bos.redhat.com and complete job with the result Pass.

beaker-client version:beaker-client-0.12.1-1.git.138.df77d66.el6eng

Comment 10 Amit Saha 2013-06-25 06:26:35 UTC
Beaker 0.13.1 has been released.


Note You need to log in before you can comment on or make changes to this bug.