Bug 997571
| Summary: | ISE when attempting to edit some cloned channel | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Jan Hutař <jhutar> |
| Component: | Satellite Synchronization | Assignee: | Stephen Herr <sherr> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Hutař <jhutar> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 560 | CC: | mminar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | spacewalk-backend-2.0.3-8-sat | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-01 21:59:23 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: | 924171 | ||
|
Description
Jan Hutař
2013-08-15 15:51:10 UTC
The reason for the ISE is that the imported channel does have filled the 'channel_access' field (private/protected/public). We rely on this field for custom channels.
Because there's DEFAULT defined on the rhnChannel table
channel_access VARCHAR2(10)
DEFAULT ('private'),
it looks like the satellite-sync code explicitly set null for this column.
Resetting to 'Satellite Synchronization' component.
In reply to Tomas Lestach from comment #3) > The reason for the ISE is that the imported channel does have filled the > 'channel_access' field (private/protected/public). We rely on this field for > custom channels. > > Because there's DEFAULT defined on the rhnChannel table > > channel_access VARCHAR2(10) > DEFAULT ('private'), > > it looks like the satellite-sync code explicitly set null for this column. > Resetting to 'Satellite Synchronization' component. It's less explicit and more just the way that satellite-sync treats all unspecified attributes, but otherwise this is exactly correct. I have added code to check for this so we do not break backwards-compatibility. Committing to Spacewalk master: 99d63c92a987ce66a1a31b66bb993389921739da Satellite 5.6 has been released. This bug was tracked under the release. This bug was either VERIFIED or RELEASE_PENDING (re-verified prior shortly before release). Moving to CLOSED CURRENT_RELEASE. Text from Upgrade Erratum follows: Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1395.html |