Bug 986142 - "Unsupported file format" error message should be shown when the uploading file is not supported by the project-type
Summary: "Unsupported file format" error message should be shown when the uploading fi...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Zanata
Classification: Retired
Component: Usability
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: zanata-dev-internal
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-19 04:32 UTC by Ding-Yi Chen
Modified: 2014-03-06 05:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-03-06 05:38:03 UTC
Embargoed:


Attachments (Terms of Use)

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."


Note You need to log in before you can comment on or make changes to this bug.