Bug 740903

Summary: Trying to add a repo without providing a name returns messy error mesg.
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Shannon Hughes <shughes>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 17:57:57 UTC Type: ---
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: 747354    

Description Corey Welton 2011-09-23 17:50:07 UTC
Description of problem:
If user tries to create a repo w/o providing a name for said repo, an error is returned that is confusing to the user

Version-Release number of selected component (if applicable):

Katello Version: 0.1.84-1.git.0.02da736.fc15

How reproducible:


Steps to Reproduce:
1. Create a new custom Provider (if necessary)
2. Create a new Product in this Provider, "Google"
3. Attempt to create a new repo within the "Google" provider. Do /not/ enter a name for this repo; for the URL, enter "http://dl.google.com/linux/chrome/rpm/stable/x86_64"
4. submit
  
Actual results:
Error message - 
Pulp::Repository: 401 Unauthorized "Invalid OAuth Credentials" (GET /pulp/api/repositories/?groupid=env%3A1&name=)

Expected results:
Something more user friendly and/or correct?

Additional info:
If user enters valid string for name and an URL, creation seems to work

Comment 1 Shannon Hughes 2012-01-05 15:24:03 UTC
this is fixed in latest build as of katello-0.1.164-1. moving to modified for testing

Comment 2 Corey Welton 2012-01-11 20:48:47 UTC
QA Verified