[zanata-bugs] [Bug 993445] New: User can successfully upload a txt file that doesn't exist

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 6 00:26:46 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=993445

            Bug ID: 993445
           Summary: User can successfully upload a txt file that doesn't
                    exist
           Product: Zanata
           Version: development
         Component: Component-Logic
          Severity: medium
          Priority: low
          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



Description of problem:
If, for whatever reason, a txt file is moved or deleted while an admin is in
the process of uploading, the file is still created on the server sans content
of the original file.

Version-Release number of selected component (if applicable):
Dev

How reproducible:
Easy always

Steps to Reproduce:
1. Have a txt file on system with some content, echo "Blah whatever"
>testfile.txt
2. Sign in as admin/maintainer
3. Go to a project, project version
4. Go to Source Documents, select Upload Document
5. Click browse, navigate to and select the testfile.txt
6. With the Upload dialog still in view, move or delete the testfile.txt
7. Press Upload

Actual results:
File is uploaded. Downloading this file results in an empty file being
received.

Expected results:
Transaction failed.

Additional info:
This seems to occur only on Chrome and with a specific set of profile settings
in Firefox. Pressing Upload in Firefox seemingly has no action other than a
page reload.

-- 
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=KX52tZvzmO&a=cc_unsubscribe




More information about the zanata-bugs mailing list