Glossary blurts entire exception stacktrace to user dialog

Description

When the user uploads a glossary csv that is in some way invalid, the entire stacktrace from the resulting exception is sucker-punched into a dialog.
This is a cruel and unusual punishment.

1. Log in as admin
2. Click Glossary in the menu bar
3. Press Import Glossary
4. Select a csv file that is very much unlike a glossary .csv
5. Upload

See screenshot

Environment

Firefox on F22, Wildfly 10.0, Zanata 3.9 release candidate 1 (dbe9cb6a6572752622f86e114796ccb48626de4b)

Activity

Show:
Damian Jansen
May 4, 2016, 5:17 AM
Edited

There is a valuable piece of info at the bottom:

Error processing glossary file: aggregate.csv. input source language 'en-US' does not match source language in file 'timeStamp'Error processing glossary file: aggregate.csv. input source language 'en-US' does not match source language in file 'timeStamp'

The rest is incredibly un-useful.

Damian Jansen
June 7, 2016, 6:11 AM

Verified in RC2

Assignee

Alex Eng

Reporter

Damian Jansen

Tested Version/s

None

Components

Sprint

None

Fix versions

Affects versions

Priority

High
Configure