https://bugzilla.wikimedia.org/show_bug.cgi?id=28320

--- Comment #1 from Neil Kandalgaonkar <ne...@wikimedia.org> 2011-04-08 
18:26:18 UTC ---
This bug is only hit if you are trying to upload a file with both the same
filename and the same content.

The problem is that the API returns only one error at a time. It believes that
same-filename error is more important, so it returns that one. Conversely, we
believe that same filename isn't important yet (since we plan to surface that
problem later), so we ignore it.

Solution?

- swap the priority of those messages in the API ?

- give the API some placeholder random filename for now so same-filename isn't
even triggered at this point? We suppress the error if it occurs anyway.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to