Bug 1062476 - User can attempt to upload an unspecified glossary file
Summary: User can attempt to upload an unspecified glossary file
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: development
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.8
Assignee: Alex Eng
QA Contact: Damian Jansen
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-07 01:53 UTC by Damian Jansen
Modified: 2016-01-21 01:40 UTC (History)
3 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2016-01-21 01:40:24 UTC


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.