Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
User can create a product repo that contains no repourl. When user attempts to save this, save is successful, and subsequent attempts to sync produce an error. We should either disallow creation of repo w/o url, or disable sync on such repos.
Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140430.4
How reproducible:
Steps to Reproduce:
1. Create a product, "testproduct"
2. Attempt to create a repo within "testproduct", called "testrepo" do NOT provide a repourl
3. Attempt to sync.
Actual results:
Error in UI
Expected results:
We shouldn't let users save incomplete repos OR
We should disable sync button on repos that are obviously incomplete.
Additional info:
[16:51] < jsherrill> cswiii: regarding https://bugzilla.redhat.com/show_bug.cgi?id=1086355, a repo with no feed makes perfect sense when uploading rpms or puppet modules directly
[16:51] < jsherrill> cswiii: however you are correct, you shouldn't be able to try to sync it
The solution for this issue should probably address multiple levels:
- server-side denial
- ui buttons disabled/hidden on product/repo pgs
Note, sync management page currently doesn't show feedless repos (as desired).
Moving to POST since upstream bug http://projects.theforeman.org/issues/6651 has been closed
-------------
Partha Aji
Applied in changeset commit:katello|a06bb95372c64468af5101b3b3d67ec2630b283b.
Just realized, about another scenario, where in
a) after creating a repo without a feed-url, if we move to the products page and then sync.
b) In that case it still appears like we are allowing sync of repos without feed-url.
I think the best thing would be not to allow, the users to save incomplete repos.