[zanata-bugs] [Bug 1030138] New: Invalid po file content error message not detailed enough
bugzilla at redhat.com
bugzilla at redhat.com
Thu Nov 14 01:44:36 UTC 2013
https://bugzilla.redhat.com/show_bug.cgi?id=1030138
Bug ID: 1030138
Summary: Invalid po file content error message not detailed
enough
Product: Zanata
Version: 3.0
Component: Usability
Severity: low
Assignee: irooskov at redhat.com
Reporter: pahuang at redhat.com
QA Contact: zanata-qa at redhat.com
CC: zanata-bugs at redhat.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML,
like Gecko) Chrome/26.0.1410.63 Safari/537.31
Build Identifier:
When upload an invalid po file to server via UI, the error message given is:
Invalid PO file contents on file: [file name]
The user has no clue what exactly went wrong.
Reproducible: Always
Steps to Reproduce:
1. Find a po file with invalid entry in header section i.e. "\n"
2. Upload it from web UI (two ways: one from editor one from documents page)
Actual Results:
from documents page:
Invalid PO file contents on file: [file name]
from within editor:
File upload failed.
JBWEB000065: HTTP Status 500 - An error occurred while uploading the file :
Invalid PO file contents on file: about_fedora
JBWEB000309: type JBWEB000067: Status report
JBWEB000068: message An error occurred while uploading the file : Invalid PO
file contents on file: about_fedora
JBWEB000069: description JBWEB000145: The server encountered an internal error
that prevented it from fulfilling this request.
JBoss Web/7.2.0.Final-redhat-1
Expected Results:
At least give or hint the offending entry/line number etc.
The invalid header is accepted by msgcat and Zanata probably should not reject
it. But giving line number of a file is always useful.
--
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=k9My6IfMK9&a=cc_unsubscribe
More information about the zanata-bugs
mailing list