Bug 847176

Summary: [TestCase][Cases list]Filter cases by more than one tag sometimes is not correct
Product: [Other] TCMS Reporter: xubai
Component: DatabaseAssignee: Yang Ren <ryang>
Status: VERIFIED --- QA Contact: Nobody <nobody>
Severity: high Docs Contact:
Priority: high    
Version: 3.8.0CC: junzhang, ryang, vchen
Target Milestone: ---Keywords: Reopened
Target Release: 3.8.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: 3.8.0-8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-10 06:13:12 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:
Attachments:
Description Flags
filter result none

Description xubai 2012-08-10 02:26:40 UTC
Created attachment 603385 [details]
filter result

Filed from caserun (INSERT URL HERE)

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

Steps to Reproduce: 
Have entered into a plan.


1.Click "Cases" label.
2.Click "Show filter options" link on the right.e.g.https://tcms-stage.englab.bne.redhat.com/plan/4191/copy-of-copy-of-copy-of-copy-of-copy-of-wjtest-tcms#testcases
3.Input "Tag" with more than one tag separated by comma.
e.g. TCMS3.4,new
4.Click "Filter cases" button.



Actual results: 
can not filter TCMS3.4

Expected results:
1.Verifty that after step 1, the cases added will list below.
2.After step 2, a filter tabel should turn up above the cases list.
3.After step 4, the cases marked with any of the input tags are filtered out
and listed below.

Comment 1 Zheng Liu 2012-08-10 06:13:12 UTC
when filter cases with multiple tags, cases which containe any of these tags will be filtered out. So it's not a bug.

Comment 2 xubai 2012-08-13 02:16:30 UTC
(In reply to comment #1)
> when filter cases with multiple tags, cases which containe any of these tags
> will be filtered out. So it's not a bug.

Hi Zheng Liu,

I know that cases with any tag will be filtered out. But I have checked for several times, in below case, enter TCMS3.4,new could not filter cases with TCMS3.4. It can be reproduced only with these two tags. I think you can check it again.
 
https://tcms-stage.englab.bne.redhat.com/plan/4191/copy-of-copy-of-copy-of-copy-of-copy-of-wjtest-tcms#testcases

Comment 3 Zheng Liu 2012-08-13 05:28:02 UTC
need verify if this is a bug.

Comment 4 xubai 2012-08-15 06:32:46 UTC
Verify 3.8.0-8 on stage  --> PASS

Verify steps:

1. enter into a plan
2. filter cases by multple tag

Actual results:
filter cases correctly

Additional info
Since the data is not the same, and the bug is not one can be reproduce 100%, it could not reproduced this time. So verify it. If it reproduces anytime, we will reopen it or create a new one.