Bug 1002792
Summary: | Unhandled exception: Uploading an invalid .pot will result in WebApplicationException | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Zanata | Reporter: | Damian Jansen <djansen> | ||||
Component: | Component-UI | Assignee: | Patrick Huang <pahuang> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Zanata-QA Mailling List <zanata-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.0 | CC: | pahuang, zanata-bugs | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.3 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | 3.3.0-SNAPSHOT (20140218-0947) | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-03-20 05:47:09 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 994362 | ||||||
Attachments: |
|
Verified at 1bf60cc19d6941929f586c3e8d62390fbb41644d Closing VERIFIED bugs for Zanata server 3.3.2. |
Created attachment 791991 [details] 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: