Bug 1142110

Summary: Inconsistent behaviour between creating and cloning channel
Product: Red Hat Satellite 5 Reporter: Pavel Studeník <pstudeni>
Component: WebUIAssignee: Stephen Herr <sherr>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hutař <jhutar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 560CC: cperry, jhutar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-2.3.8-18 spacewalk-web-2.3.2-4 spacewalk-schema-2.3.2-5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-29 23:45:27 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: 1127215    

Description Pavel Studeník 2014-09-16 07:52:08 UTC
Description of problem:
I can create child channel with other arch, but I can't clone this child channel. I get following message:

The child channel arch x86_64 is not compatible with a parent channel arch of s390

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

How reproducible:
always

Steps to Reproduce:
1. create parent channel with arch x86_64 
2. create child s390 channel in this parent channel
3. try to clone this child channel

Actual results:
Inconsistent  behaviour between cloning and creating

Expected results:
same behaviour. Allow or deny both operations.

Comment 1 Stephen Herr 2014-09-17 17:56:32 UTC
Committing to Spacewalk master:
e659cc9ef2e8ca480e9115be00d916ccf9f9d55c

Now the java stack should throw an error if you try to create / clone a child channel with an incompatible architecture (eg. through the api) and should hide inappropriate options in the webui.