Bug 1444072
| Summary: | cannot delete organization which contains same repository as org1: ERROR: update or delete on table "rhncontentsource" violates foreign key constraint "rhn_csf_source_fk" on table "rhncontentsourcefilter" | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Jan Hutař <jhutar> |
| Component: | Server | Assignee: | Tomáš Kašpárek <tkasparek> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukáš Hellebrandt <lhellebr> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 570 | CC: | adujicek, lhellebr, mmraka, tkasparek, tlestach |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | spacewalk-schema-2.5.1-44-sat satellite-schema-5.8.0.28-1-sat | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-21 12:15:18 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: | 1340444 | ||
|
Description
Jan Hutař
2017-04-20 13:51:54 UTC
Related to bug 1444047. Related to bug 1444519. spacewalk.git(master): 31c3a53688af7e08c356d3edb19ca4dd639fd85e Verified with spacewalk-java-2.5.14-84 . To actually reproduce, it is enough to create a new organization, create a repo within it with a filter, and try to remove the organization. No need to do anything with the first organization or with more than one repos or with any channel: 1) Create testorg 2) In testorg, create testrepo with URL="http://dl.fedoraproject.org/pub/epel/6Server/x86_64/" and filter="+freealut*" 3) From org 1, remove testorg and notice ISE After the fix, the organization can be removed even if it contains a repository with a filter. |