Bug 1002541 - Different restriction for "Repository Label" for create repo using WebUI and API
Summary: Different restriction for "Repository Label" for create repo using WebUI and API
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 560
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Gennadii Altukhov
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2013-08-29 12:19 UTC by Martin Korbel
Modified: 2016-03-17 16:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-17 16:31:24 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Martin Korbel 2013-08-29 12:19:30 UTC
Description of problem:
Different restriction for "Repository Label" for create repo  using WebUI and API.
WebUI removes brackets from "Repository Label", API doesn't do it.

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

How reproducible:
Sat 5.6.0
Sat 5.5.0
SW 2.0

Steps to Reproduce:
1. Create repo using API
> spacewalk-api --server=localhost --user=admin --password=xxx  channel.software.createRepo "%session%" "Fedora 19 (i386)" YUM http://download.englab.brq.redhat.com/released/F-19/GOLD/Everything/i386/
2. Create repo using WebUI.
Repository Label: Fedora 19 (x86_64)
Repository URL: http://download.englab.brq.redhat.com/released/F-19/GOLD/Everything/x86_64/
3. Click "Create repository" and we can see, that WebUI saves label without brackets:
Repository Label: Fedora 19 x86_64


Actual results:
Repository Label: Fedora 19 x86_64

Expected results:
Repository Label: Fedora 19 (x86_64)

Additional info:

Comment 2 Gennadii Altukhov 2016-03-16 12:49:06 UTC
Taking...

Comment 3 Gennadii Altukhov 2016-03-17 16:31:24 UTC
This is kind of "feature", but not a bug. We're removing all characters like "<", ">", "(", ")", "{", "}", from web-UI forms. I see no sense to do this only for one API-call now.

Closing...


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