Bug 701236 - Setting "Kickstart Label" for a cloned KS is failing in case of "SPACE" at the end.
Summary: Setting "Kickstart Label" for a cloned KS is failing in case of "SPACE" at t...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 540
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-02 08:33 UTC by Dimitar Yordanov
Modified: 2011-05-02 13:18 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-02 10:16:08 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Dimitar Yordanov 2011-05-02 08:33:06 UTC
Description of problem:
Setting "Kickstart Label"  for a cloned KS is failing in case of "SPACE" at the end.

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

How reproducible:
Always

Steps to Reproduce:
1.System->Kickstart->Profiles->some-KS -> clone kickstart
2.Kickstart Label : aaabbb(space)

  
Actual results:
Your selected kickstart label is invalid, it must be at least 6 characters and only contain the following characters : A-Z, a-z, 0-9, _, - 

Expected results:
Success

Additional info:

Comment 1 Tomas Lestach 2011-05-02 10:16:08 UTC
Dimitar, what you describe here, is the correct behavior.
Like the error message you got displayed on the WebUI: space is not among the allowed charactes: "A-Z, a-z, 0-9, _, -".
Closing as NOTABUG.

Comment 2 Dimitar Yordanov 2011-05-02 11:52:00 UTC
What I think is that the space at the end should be truncated the KS cloned.

aaabbb(SPACE) == aaabbb

Comment 3 Tomas Lestach 2011-05-02 12:18:53 UTC
User input shall not be modified, if not stated.
RHN Satellite doesn't try to be smarter than the user.

Comment 4 Dimitar Yordanov 2011-05-02 13:18:48 UTC
I just do not think that any user intends to have KS names : aaabbb and aaabbbb(SPACE).
But when  happen inevitably to leave one space at the end and gets an error because of that, this could be annoying.


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