Bug 1062476

Summary: User can attempt to upload an unspecified glossary file
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-UIAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Damian Jansen <djansen>
Severity: medium Docs Contact:
Priority: unspecified    
Version: developmentCC: aeng, dchen, zanata-bugs
Target Milestone: ---   
Target Release: 3.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.8.0-SNAPSHOT (git-server-3.6.2-569-g2bae087) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-21 01:40:24 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:

Description Damian Jansen 2014-02-07 01:53:05 UTC
Description of problem:
The box for uploading glossary files does not stop the user from pressing Upload without specifying a file. This results in an error

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

How reproducible:
Easy always

Steps to Reproduce:
1. Sign in as admin, click Glossary in the menu bar
2. Click Upload, then click Upload in the dialog that shows

Actual results:
(i) Unsupported Glossary file:
/!\ Transaction failed 

Expected results:
Upload button should be greyed out

Additional info:

Comment 1 Ding-Yi Chen 2014-03-26 07:26:58 UTC
The severity is set as medium, as eventually the action is rejected, but should inform the user as suggested in description in the beginning.

Comment 2 Alex Eng 2015-07-16 23:42:09 UTC
Pull request:

https://github.com/zanata/zanata-server/pull/914

Comment 3 Damian Jansen 2015-07-19 23:37:08 UTC
Verified at d085bcaf18782be3fa4993e66e7a5aef4e0cccdf

Comment 4 Damian Jansen 2015-07-21 04:10:44 UTC
Verified merge at c31ffda6b364d2c97641d52852facffdcc69adf2