Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1128825

Summary: Activation Key package names separated by spaces are accepted(API)/not parsed correctly(WebUI).
Product: [Community] Spacewalk Reporter: Dimitar Yordanov <dyordano>
Component: WebUIAssignee: Stephen Herr <sherr>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 2.2CC: mmraka
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-2.3.26-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-14 19:03:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1207293    

Description Dimitar Yordanov 2014-08-11 15:26:27 UTC
Description of problem:
Activation Key package names  separated by spaces are accepted(API)/not parsed correctly(WebUI).
On WebUI: test test2
Via API: 
client.activationkey.addPackages(key,"1-6477c9a04e508743ad3461fe35bfb026",[{'name':"test test2"}])

Version-Release number of selected component (if applicable):
spacewalk-java-2.2.123-1

How reproducible:
Always.

Steps to Reproduce:
1. Create Activation Key - AK.
2. Set provisioning entitlement to AK. 
3. Add some packagest to the AK.
WebUI: Systems -> Activations Keys -> AK -> Packages -> "test test2" -> Press Update Key
API:  client.activationkey.addPackages(key,"1-6477c9a04e508743ad3461fe35bfb026",[{'name':"test test2"}])

Actual results:
The input is accepted and not parsed correctly.

Expected results:
The input have to be rejected(API)/parsed correctly(WebUI). 


Additional info:

Comment 1 Michael Mráka 2014-08-29 09:53:13 UTC
Committed to master as
commit 1ae963f04e23c3385e8278315c87fbec767240f3
    1128825 - AKey package names separated by spaces.

Comment 2 Grant Gainey 2015-03-23 16:59:23 UTC
Moving bugs to ON_QA as we move to release Spacewalk 2.3

Comment 3 Grant Gainey 2015-04-14 19:03:44 UTC
Spacewalk 2.3 has been released. See

https://fedorahosted.org/spacewalk/wiki/ReleaseNotes23