Bug 702393

Summary: [Advance search]Clone run without any selection will show 404 error
Product: [Other] TCMS Reporter: Jin Zhao <jzhao>
Component: Web UIAssignee: June Zhang <junzhang>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.4CC: ctang, dli, jcai, junzhang, nli, vchen, xgao, xkuang, yuwang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.4-5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-27 10:29:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 704162    
Attachments:
Description Flags
page error none

Description Jin Zhao 2011-05-05 14:41:32 UTC
Created attachment 497116 [details]
page error

Description of problem:
Search run,in search result, clone run without select any one woll show 404 page

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

How reproducible:
100%

Steps to Reproduce:
1.Click to advanced search 
2.Type any keyword you want to select
3.Click "search run" button
4.Do not select any run ,then click "clone" button
  
Actual results:
Page not found (404)
Request Method: 	GET
Request URL: 	https://tcms.englab.nay.redhat.com/runs/clone/

Expected results:
Warning such as "At least one run is required by clone function."
(the same to clone plan)

Additional info:

Comment 1 Chaobin Tang 2011-05-11 06:07:50 UTC
Instead of showing 404 when clonning runs without having selected any of them, will now show prompt page gently.

Comment 2 Jin Zhao 2011-05-18 09:11:18 UTC
Verify version: 3.4 on stage (3.4-5)
Actual results:Warning that “At least one plan is required by clone function.”
Verify result: PASS