Created attachment 336919 [details] simple script to test the problem Description of problem: Python channel.software.clone method creates standard custom channel, not cloned channel. Version-Release number of selected component (if applicable): 5.2 How reproducible: Allways Steps to Reproduce: 1. use script to create cloned channel 2. check web ui: Channels->Manage Software Channels->click on channel name 3. "Details" tab does not list the "Cloned From:" property 4. "Errata" tab does not list the "Clone" option Actual results: Standard custom channel Expected results: Cloned channel Additional info: Attached the simple script to test
I can confirm the same problem even using perl script, so it's not limited to python: #!/usr/bin/perl -w use strict; use Frontier::Client; my $HOST = 'localhost'; my $user = 'username'; my $pass = 'password'; my $client = new Frontier::Client(url => "http://$HOST/rpc/api"); my $session = $client->call('auth.login', $user, $pass); my %newchannel = ( name => "testname", label => "testlabel", summary => "testsummary" ); my $cid = $client->call( "channel.software.clone", $session, "rhel-i386-as-4", \%newchannel, $client->boolean(0) ); $client->call('auth.logout', $session);
Changed bug subject, it's not limited to python.
I have found the cloning is actually being deprecated, so this is probably not a bug. Closing.