Bug 708083 - channel.software.clone allows to publish Red Hat errata into a custom channel
Summary: channel.software.clone allows to publish Red Hat errata into a custom channel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 540
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks: sat54-blockers
TreeView+ depends on / blocked
 
Reported: 2011-05-26 17:25 UTC by Tomas Lestach
Modified: 2011-08-16 13:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Consequence: channel.software.clone allowed to associate Red Hat errata with custom channels. Result: When a Red Hat channel with associated Red Hat errata gets cloned using channel.software.clone API, Red Hat errata get cloned and only the cloned errata get associated with the cloned channel.
Clone Of:
Environment:
Last Closed: 2011-08-16 13:58:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1162 0 normal SHIPPED_LIVE Red Hat Network Satellite Server spacewalk-java bug fix update 2011-08-16 13:56:28 UTC

Description Tomas Lestach 2011-05-26 17:25:57 UTC
Description of problem:
Red Hat errata shall be associated with Red Hat channels only.
channel.software.clone allows that

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

How reproducible:
always

Steps to Reproduce:
1. Clone a Red Hat channel, that contains Red hat errata using channel.software.clone API with False as the originalState parameter
2. check errata associated with the cloned channel
  
Actual results:
Red Hat errata associated with the cloned channel. That allows the user to act with the erratum like with a custom one (by most of the editing, he gets ISE)

Expected results:
Red Hat errata shall be cloned before associating with custom channels.

Comment 1 Tomas Lestach 2011-05-26 17:45:13 UTC
spacewalk.git: 41c17c45df6d61be16847cdebd5a337714bb5a48

drawback: this API call shall not get much slower by checking for available clones of the original errata or by the clone process, these operations are done async.

Comment 4 Tomas Lestach 2011-07-27 15:11:21 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Consequence:
channel.software.clone allowed to associate Red Hat errata with custom channels.
Result:
When a Red Hat channel with associated Red Hat errata gets cloned using channel.software.clone API, Red Hat errata get cloned and only the cloned errata get associated with the cloned channel.

Comment 6 errata-xmlrpc 2011-08-16 13:58:44 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1162.html


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