Project

General

Profile

Bug #26251

[webUI, Repo-Discovery]- Failed to discover the repository from Repo Discovery Page

Added by Partha Aji about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Description of problem:
Failed to discover the repo from Repo Discovery. Getting an error 'An invalid form control with name='upstreamUsername' is not focusable.' error on JS console.

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Products-> Discover Repositories
2. Add Url 'https://inecas.fedorapeople.org/fakerepos/zoo/'
3. Click on Discover button.
4. See the error on console log (try chrome)

Actual results:
Discover repo fails with an error in the console log as 'An invalid form control with name='upstreamUsername' is not focusable.'

Expected results:
Repo should be discovered, records should be shown in Discovery Repository column.

Additional info:
Error displayed in console log

An invalid form control with name='upstreamPassword' is not focusable.
120Refused to load the font '<URL>' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback

Associated revisions

Revision 7a81aa84 (diff)
Added by Partha Aji about 3 years ago

Fixes #26251 - Repo Discovery with uname/passwd (#7998)

  • Fixes #26251 - Repo Discovery with uname/passwd

This commit adds support to discovering yum repos with username and
password (assuming basic http authentication).

  • Refs #26251 - Updated the ui to not show creds
  • Refs #26251 - Updated the ui to handle root repos
  • Refs #26251 - Updated to handle redirected repo
  • Refs #26251 - Fixed a issue with docker repos
  • Refs #26251 - Fixed lint errors
  • Refs #26251 - Addressed PR Changes
  • Refs #26251 - Fixed lint errors
  • Refs #26251 - Addressed double slash issue

History

#1 Updated by Partha Aji about 3 years ago

  • Bugzilla link set to 1685437

#2 Updated by The Foreman Bot about 3 years ago

  • Assignee set to Partha Aji
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7998 added

#3 Updated by John Mitsch about 3 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.12.0

#4 Updated by Partha Aji about 3 years ago

  • Bugzilla link changed from 1685437 to 1687577

#5 Updated by Anonymous about 3 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF