Bug 1262313
Summary: | Providing invalid URL for a custom repo, WebUI raises exception but stores it | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> | ||||||||
Component: | Repositories | Assignee: | Brad Buckingham <bbuckingham> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jitendra Yejare <jyejare> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | high | ||||||||||
Version: | 6.1.1 | CC: | bbuckingham, bkearney, cwelton, jyejare, oshtaier, riehecky | ||||||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||||||
Target Release: | Unused | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2016-07-28 14:38:50 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: | |||||||||||
Attachments: |
|
Description
Pavel Moravec
2015-09-11 11:59:09 UTC
I have tried several tests on Satellite 6.2; however, I haven't been able to reproduce the behavior described. I am going to move the BZ to ON_QA for verification. Test env included: tfm-rubygem-katello-3.0.0.5-1.el7sat.noarch Verified this issue in Sat 6.2 snap 4. The issue is still reproducible. On updating the repo url to invalid, it accepts the invalid url and stores it. And on syncing the repo with that invalid url, the sync fails with 'RPM1004: Error retrieving metadata: Not found'. So currently updating the status as 'Failed QA'. Created redmine issue http://projects.theforeman.org/issues/15810 from this bug I tried this again with Satellite 6.2 SNAP 21.1 using the url that was provided in the description (http://username:password@@example.com/repo) and the behavior appears correct. 1. create repo with valid url 2. sync repo 3. update url to invalid (http://username:password@@example.com/repo) 4. observe validation failed error 5. click 'cancel' and observe the original url (unchanged) 6. re-sync the repo without error Attaching a few screenshots for 4, 5 & 6. Created attachment 1184316 [details]
Step 4. Enter invalid URL.
Created attachment 1184317 [details]
Step 5. Click cancel and observe original URL.
Created attachment 1184319 [details]
Step 6. Resync repo without error.
Hi Jitendra, per comment 8, I re-tested this and did not observe the error with the scenario described. Can you take a quick look? If you are still seeing the issue, we'll need more specifics on the scenario. Thanks! Verified ! @Sat 6.2 GA Snap 21.2 Steps: 1. Created a custom product and a custom repo 2. Provided some valid URL 3. Synced it 4. Updated the URL to some invalid url Observed: WebUI raised exception on clicking Cancel the url is reverted back to the valid one. On syncing the repo again, the sync completed with valid url and not with invalid one. So moving this to Verified ! This was delivered with Satellite 6.2 GA which was delivered on 27 July, 2017. |