Bug 1108008 - [test run]When add a invalid bug_id|jira_id into caserun, system does not tell user how to correct the input.
Summary: [test run]When add a invalid bug_id|jira_id into caserun, system does not tel...
Keywords:
Status: VERIFIED
Alias: None
Product: TCMS
Classification: Other
Component: Application
Version: 3.8.8
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 3.8.8
Assignee: Yang Ren
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-11 09:46 UTC by yangqiu
Modified: 2023-10-20 16:24 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
[test run]When add a invalid bug_id|jira_id into caserun, system does not tell user how to correct the input. (201.07 KB, image/jpeg)
2014-06-11 09:46 UTC, yangqiu
no flags Details

Description yangqiu 2014-06-11 09:46:15 UTC
Created attachment 907554 [details]
[test run]When add a invalid bug_id|jira_id into caserun, system does not tell user how to correct the input.

Description of problem:
as subject.

Version-Release number of selected component (if applicable):
v3.8.8-1 on devel server

How reproducible:
100%

Steps to Reproduce:
1.Enter a run detail page.
https://tcms-devel.app.eng.nay.redhat.com/run/72357/
2.Add a invalid bug_id|jira_id into caserun, like: bug_id is 123456789, jira_id is tcms-123.
3.In add bug dialog, click save btn.

Actual results:
for bugzilla: system show warning: Please input a valid bug id.
for jira: system show warning: Please input a valid jira id.

Expected results:
for bugzilla: system show warning: Please input a valid bug id which is 7 numberes, like:1234.
for jira: system show warning: Please input a valid jira id which is [A-Z0-9]-[0-9], like: TCMS-123.


Additional info:

Comment 1 Xu Lei 2014-06-12 10:01:06 UTC
for bugzilla: Please input a valid bug id which is less equal 7 numberes, e.g. 1001234

for jira: Please input a valid jira id, e.g. TCMS-32

Comment 2 yangqiu 2014-06-13 05:53:03 UTC
Verify this bug on v3.8.8-1 on devel server.--->Pass
Verify steps are same as description.


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