Page MenuHomePhabricator

Some filenames fail with 'unknown-error:unknown-warning' on first step
Closed, ResolvedPublic

Description

Steps to reproduce:

Upload a file called 'foo#bar.jpg' using UploadWizard. Make sure that the file isn't a duplicate or would fail for other reasons.

Expected behavior:

File should be uploaded successfully and prompt a rename if necessary.

Acceptable behavior:

File upload fails with clear failure message.

Actual behavior:

File upload fails with 'Unknown error: "unknown-warning"' on first step.

According to Elya, who reported this bug, it also occurs when there are multiple spaces in the filename; I haven't tested that or other circumstances under which it might fail.


Version: unspecified
Severity: normal

Details

Reference
bz30646

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:49 PM
bzimport added a project: UploadWizard.
bzimport set Reference to bz30646.
bzimport added a subscriber: Unknown Object (MLST).

I can confirm that this happens with multiple spaces in the name. This warning makes sense in the classic uploader, but should not happen in the UploadWizard, as here the user has the possiblity to rename the file. Also, merging multiple whitespaces could be done automatically, without user intervention.

drecodeam wrote:

@erik i tried to reproduce it, but it does not show an error in my case.
i named the file as "foo bar test sample.jpg", and it was working fine.
I even tried 'foo#bar.jpg', it works fine.
I think that it has been solved in one of the updates, i am looking into the code, but can you confirm if this problem still persists.

Yeah, can't reproduce anymore either. This seems to have been fixed somewhere along the way, yay.

Gilles raised the priority of this task from High to Unbreak Now!.Dec 4 2014, 10:21 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to High.Dec 4 2014, 11:21 AM