Bug 1065998

Summary: adding custom errata to a custom channel creates cloned errata
Product: [Community] Spacewalk Reporter: Jan Hutař <jhutar>
Component: WebUIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.1CC: cperry, lhellebr
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1141279 1141283 1146623 (view as bug list) Environment:
Last Closed: 2015-04-14 19:04:01 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: 1141279, 1146623, 1207293    

Description Jan Hutař 2014-02-17 13:28:24 UTC
Description of problem:
Adding custom errata to clone of a custom channel creates cloned errata instead of source errata being just published into the target channel.


Version-Release number of selected component (if applicable):
spacewalk-java-2.1.152-1.el6.noarch


How reproducible:
always


Steps to Reproduce:
1. Have a custom channel with few custom erratas in it
2. Clone that channel to new channel with no erratas
3. Note number of erratas shown in Errata -> Manage Errata
4. Add one of the errata to cloned channel using:
   Channel -> Manage Software Channels -> <your_cloned_channel> ->
   -> Errata -> Add -> Add Custom Errata
5. Select some errata and use confirmation button to add it
6. Note number of erratas shown in Errata -> Manage Errata


Actual results:
a) When you do point "5." above informational box appears saying
   "...scheduled 1 errata to be cloned to channel..." (note that
   "to be *cloned*" instead of "to be added")
b) Numbers from points "3." and "6." do not match => new erratum was created
c) When you locate original/source and cloned/target erratum in Errata ->
   -> Manage Errata they have only one channel selected in their "Channels" tab


Expected results:
a) Message should not mention cloning when I'm adding
b) Counts should match
c) I would expect that result would be that original/source erratum have 2
   channel checked in the Channels tab


Additional info:
This docs have some info on erratum cloning (maybe I do not understand the concept enough, but IMO I do):
https://access.redhat.com/site/documentation/en-US/Red_Hat_Satellite/5.6/html-single/Getting_Started_Guide/index.html#sect-Getting_Started_Guide-Channel_Management-Creating_and_Managing_Custom_Channels-Manage_Software_Channel_Details

Comment 1 Jan Hutař 2014-02-18 13:14:17 UTC
Checked on Satellite 5.4.1 and 5.5.0 and 5.6.0 and it behaves in the same way, so this is not a regression. I'm just unsure it is a correct behavior.

Comment 2 Lukáš Hellebrandt 2014-02-24 12:59:17 UTC
This doesn't only apply to cloned channels but to all custom channels

Comment 3 Tomas Lestach 2014-09-12 15:39:41 UTC
spacewalk.git: fbfa7542885634d8302641dfa381664f4cdeb308

Comment 4 Tomas Lestach 2014-11-11 12:45:00 UTC
one more commit ...

spacewalk.git: ba04d2ec2978b52db0e31ed3b84943703498ca54

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

Comment 6 Grant Gainey 2015-04-14 19:04:01 UTC
Spacewalk 2.3 has been released. See

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