Bug 986142

Summary: "Unsupported file format" error message should be shown when the uploading file is not supported by the project-type
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: UsabilityAssignee: zanata-dev-internal <zanata-dev-internal>
Status: CLOSED WORKSFORME QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.0CC: djansen, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-06 05:38:03 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:

Description Ding-Yi Chen 2013-07-19 04:32:27 UTC
Description of problem:
Zanata should show an error messages such as:
"File upload failed because the file format is not supported." 
If the project-type does not support the file format of the uploading file.

This is especially for File projects, as users may assume that .doc (supported by LibreOffice) and upload it, while the backend does not actuall support.


Version-Release number of selected component (if applicable):
Zanata version 3.0.0-alpha-2-SNAPSHOT (20130719-1235)

How reproducible:
Always

Steps to Reproduce:
1. Create a project and version with File project-type.
2. Upload a .doc file as source

Actual results:
Zanata Load the home page and showed:
  Current Errors:
     Unexpected error. Please try again. [ Request: ? ] 

Expected results:
On current page:
  Zanata shows the error message:
    "File upload failed because the file format is not supported."


Additional info:

Comment 1 Damian Jansen 2014-03-06 05:38:03 UTC
"Unrecognized file extension for Picture_1.doc."