[zanata-bugs] [Bug 1002792] New: Unhandled exception: Uploading an invalid .pot will result in WebApplicationException
bugzilla at redhat.com
bugzilla at redhat.com
Fri Aug 30 02:53:43 UTC 2013
https://bugzilla.redhat.com/show_bug.cgi?id=1002792
Bug ID: 1002792
Summary: Unhandled exception: Uploading an invalid .pot will
result in WebApplicationException
Product: Zanata
Version: 3.0
Component: Component-UI
Severity: medium
Assignee: zanata-dev-internal at redhat.com
Reporter: djansen at redhat.com
QA Contact: zanata-qa at redhat.com
CC: zanata-bugs at redhat.com
Blocks: 994362
Created attachment 791991
--> https://bugzilla.redhat.com/attachment.cgi?id=791991&action=edit
Test .pot file with duplicate msgid
Description of problem:
If the user attempts to upload a .pot that will fail, the
javax.ws.rs.WebApplicationException at
org.zanata.rest.service.ResourceUtils.transferFromTextFlows(ResourceUtils.java:158)
[classes:] will occur.
Version-Release number of selected component (if applicable):
3.0
How reproducible:
Easy always
Steps to Reproduce:
1. Download the attached test.pot
2. As an admin/maintainer go to a project->project version->Source documents
3. Press Upload Document and navigate to the .pot file
4. Press Upload
Actual results:
"An unexpected error has occurred. Please report this problem with details of
what you were attempting."
javax.ws.rs.WebApplicationException
at
org.zanata.rest.service.ResourceUtils.transferFromTextFlows(ResourceUtils.java:158)
[classes:]
Expected results:
It should say what happened and, if at all possible, why. e.g. (Duplicate msgid
detected)
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=kohF5Vk44n&a=cc_unsubscribe
More information about the zanata-bugs
mailing list