Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1065998 - adding custom errata to a custom channel creates cloned errata
Summary: adding custom errata to a custom channel creates cloned errata
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 1141279 1146623 space23
TreeView+ depends on / blocked
 
Reported: 2014-02-17 13:28 UTC by Jan Hutař
Modified: 2015-04-14 19:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1141279 1141283 1146623 (view as bug list)
Environment:
Last Closed: 2015-04-14 19:04:01 UTC
Embargoed:


Attachments (Terms of Use)

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


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