Bug 684804

Summary: service error when accessing test-case from plan it is not a member of
Product: [Other] TCMS Reporter: Ales Zelinka <azelinka>
Component: ApplicationAssignee: Yuguang Wang <yuwang>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: ctang, junzhang, jzhao, nli, vchen, xgao
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.4-8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-31 03:30:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
WarningUI- PASS
none
New warning UI none

Description Ales Zelinka 2011-03-14 14:41:40 UTC
Description of problem:

1) add test-case to a test-plan
2) get link https://tcms.engineering.redhat.com/case/<test-case-id>/?from_plan=<test-plan-id>
3) remove the test-case from the test-plan
4) access the link

You will get service error when accessing test-case with "from_plan=ABC" if the test-case is not included in ABC test-plan.


Expected result:

the test-case will be displayed as if the "from_plan=..." wasn't specified.

example
working link:
https://tcms.engineering.redhat.com/case/1234/
broken link:
https://tcms.engineering.redhat.com/case/1234/?from_plan=4321

Comment 1 Yuguang Wang 2011-03-15 07:55:42 UTC
It's fixed.
Will inform you to verify when it's online.
Thanks.

Comment 2 Jin Zhao 2011-05-11 07:35:22 UTC
Created attachment 498217 [details]
WarningUI- PASS

Verify version: 3.4 on englab

Verify steps:
1.Click to a plan
2.Click case name to enter to case detail.Then copy the link
e.g:https://tcms.englab.nay.redhat.com/case/57787/?from_plan=2798
3.Click test plan tab,remove the plan
4.Browser the link 
https://tcms.englab.nay.redhat.com/case/57787/?from_plan=2798

Actual result: Refer to attachment.

Verify result: PASS

Comment 3 Xin Gao 2011-05-31 03:29:54 UTC
Created attachment 501902 [details]
New warning UI

Verify version: 3.4-8 on englab

Verify steps:
1.Click to a plan
2.Click case name to enter to case detail.Then copy the link
e.g:https://tcms.englab.nay.redhat.com/case/57787/?from_plan=2798
3.Click test plan tab,remove the case
4.Browser the link 
https://tcms.englab.nay.redhat.com/case/57787/?from_plan=2798

Actual result: Now the warning UI has changed. Please refer to attachment "Page not found(404)". the web browser is firefox.

Verify result: PASS