Bug 770109 - "is not" in search forms changes to "contains"
Summary: "is not" in search forms changes to "contains"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 0.8
Hardware: Unspecified
OS: Unspecified
urgent
high vote
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact:
URL:
Whiteboard:
: 772010 782276 782426 799109 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-23 11:24 UTC by Marian Csontos
Modified: 2019-05-22 13:40 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-15 00:16:11 UTC


Attachments (Terms of Use)

Description Marian Csontos 2011-12-23 11:24:21 UTC
Description of problem:
When I select "is not" operator in any Search form, after pressing "Search" button "contains" is selected.

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

How reproducible:
100%

Steps to Reproduce:
1. open "Distros" or "Recipese"
2. select some criteria and press Search

Or go to bellow link (notice the "is+not" in distrosearch-2.operation):

https://beaker.engineering.redhat.com/distros/?distrosearch-0.table=OSMajor&distrosearch-0.operation=contains&distrosearch-0.value=RedHatEnterpriseLinux6&distrosearch-1.table=Tag&distrosearch-1.operation=is&distrosearch-1.value=STABLE&distrosearch-2.table=Arch&distrosearch-2.operation=is+not&distrosearch-2.value=x86_64&distrosearch-3.table=InstallName&distrosearch-3.operation=contains&distrosearch-3.value=Server&Search=Search
  
Actual results:
"contains" in the search form is selected

Expected results:
"is not" in the search form is selected

Additional info:

> rpm -q firefox
firefox-8.0-3.fc15.x86_64

Comment 2 Dan Callaghan 2012-01-06 04:11:33 UTC
*** Bug 772010 has been marked as a duplicate of this bug. ***

Comment 3 Dan Callaghan 2012-01-06 05:24:14 UTC
Looks like a typo ('operations' instead of 'operation' for the field name in the template). I don't see how this could have ever worked in the past though...

Setting this to 0.8.1 with severity high, because it's quite an annoying bug.

Comment 4 Dan Callaghan 2012-01-06 06:02:21 UTC
Patch pushed to Gerrit for review.

Comment 5 Jianhai Luan 2012-01-17 03:27:19 UTC
*** Bug 782276 has been marked as a duplicate of this bug. ***

Comment 6 Marian Csontos 2012-01-17 13:39:38 UTC
*** Bug 782426 has been marked as a duplicate of this bug. ***

Comment 7 Raymond Mancy 2012-03-01 22:22:37 UTC
*** Bug 799109 has been marked as a duplicate of this bug. ***


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