Bug 797098 - The applications with invalid app name can also be created successfully.
Summary: The applications with invalid app name can also be created successfully.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Krishna Raman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-24 09:31 UTC by Yujie Zhang
Modified: 2015-05-15 01:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-02 21:56:34 UTC
Target Upstream Version:


Attachments (Terms of Use)
Invaid application (116.75 KB, image/png)
2012-02-24 09:35 UTC, Yujie Zhang
no flags Details

Description Yujie Zhang 2012-02-24 09:31:56 UTC
Description of problem:

The applications with invalid app name can also be created successfully.

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

devenv_1634

How reproducible:always


Steps to Reproduce:
1.Go to Openshift website and login
2.Go to app/console/applications page
3.Try to create an application with invalid name like "ss@"
  
Actual results:

Error message will came out,but the application was created successfully.

Expected results:

The application should not be created successfully.

Additional info:

Comment 1 Yujie Zhang 2012-02-24 09:35:25 UTC
Created attachment 565548 [details]
Invaid application

Comment 2 Yujie Zhang 2012-02-24 09:37:14 UTC
Details see in attachment.The details and the link of application with invalid are not available,but it did exist in My Applications list.

Comment 3 Yujie Zhang 2012-02-27 07:31:58 UTC
Testing this bug on devenv_1642,the result is still not expected.

When I try to create an application with invalid name,error message will came out:

Name Application name is required and cannot be blank

I think this is not expected and will confuse users.Please check this issue again.

Comment 4 Clayton Coleman 2012-02-27 16:22:51 UTC
API is not validating the name, it looks like.  Maybe backend code too?

Comment 5 Krishna Raman 2012-02-27 23:47:38 UTC
Fixed in dd288584c35f86e960610dfdcbf0ccdbe5f303fd

Comment 6 Yujie Zhang 2012-02-28 06:03:32 UTC
Verify this bug on devenv_1648,rhc-site-0.87.9-1.el6_2.noarch, it is fixed now.


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