Bug 740340

Summary: Upload Subscription Manifest: Hitting submit w/o actually uploading a file returns uncaught error
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: 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:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 747354    

Description Corey Welton 2011-09-21 17:16:37 UTC
Description of problem:

When user hits the Upload button without having actually chosen a file, an error is thrown to the screen that probably should be caught and returned to the user in a friendly manner.

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


How reproducible:


Steps to Reproduce:
1.  Content > Providers > Red Hat > Subscriptions
2.  Hit the Upload button prior to ever trying to provide an actual file.
3.  View results
  
Actual results:
Error message: 
Missing partial providers/subscriptions with {:formats=>[:js, "application/ecmascript", "application/x-ecmascript", "*/*"], :locale=>[:en, :en], :handlers=>[:builder, :haml, :rjs, :erb, :rhtml, :rxml]} in view paths "/usr/share/katello/app/views"

Expected results:
Caught error message.

Additional info:

Comment 1 Brad Buckingham 2011-10-04 18:35:46 UTC
commit: 6b29b75e546ec0d4d83a8c151c735763c63b1ccf

Updated to generate a proper error notification if user clicks 'Upload' without
providing a file to upload.

The notice states:
Subscription Manifest must be specified on upload.

Comment 2 Corey Welton 2011-10-25 03:45:15 UTC
QA Verified

Comment 5 Mike McCune 2013-08-16 18:02:21 UTC
getting rid of 6.0.0 version since that doesn't exist