[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-09-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Derk-Jan Hartman hartman.w...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #18 from Derk-Jan Hartman hartman.w...@gmail.com 2012-09-13 
21:45:47 UTC ---
Deployed now as well, works for me.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-08-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Bug 30625 depends on bug 29594, which changed state.

Bug 29594 Summary: Need a way back when trying to upload a file in UploadWizard 
that already exists
https://bugzilla.wikimedia.org/show_bug.cgi?id=29594

   What|Old Value   |New Value

 Status|REOPENED|RESOLVED
 Resolution||FIXED

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-08-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Bug 30625 depends on bug 29594, which changed state.

Bug 29594 Summary: Need a way back when trying to upload a file in UploadWizard 
that already exists
https://bugzilla.wikimedia.org/show_bug.cgi?id=29594

   What|Old Value   |New Value

 Status|REOPENED|RESOLVED
 Resolution||FIXED

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-08-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

--- Comment #17 from Erik Moeller e...@wikimedia.org 2012-08-28 23:34:53 UTC 
---
Confirmed fixed in master, leaving bug open pending deployment and final
verification.

(Small UX issue: The big Retry uploads button vs. file-specific override
actions are a bit confusing. Maybe clean that up down the road.)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-08-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Bug 30625 depends on bug 29594, which changed state.

Bug 29594 Summary: Need a way back when trying to upload a file in UploadWizard 
that already exists
https://bugzilla.wikimedia.org/show_bug.cgi?id=29594

   What|Old Value   |New Value

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-08-27 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Ryan Kaldari rkald...@wikimedia.org changed:

   What|Removed |Added

 CC||rkald...@wikimedia.org

--- Comment #16 from Ryan Kaldari rkald...@wikimedia.org 2012-08-28 01:57:22 
UTC ---
I think this might be fixed now in the trunk version. Can someone verify?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-08-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

--- Comment #13 from Derk-Jan Hartman hart...@videolan.org 2012-08-25 
08:49:08 UTC ---
Created attachment 11004
  -- https://bugzilla.wikimedia.org/attachment.cgi?id=11004
still a problem

Still can't get past this problem.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-08-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Derk-Jan Hartman hart...@videolan.org changed:

   What|Removed |Added

 Depends on||29594

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-08-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Derk-Jan Hartman hart...@videolan.org changed:

   What|Removed |Added

 CC||hart...@videolan.org

--- Comment #14 from Derk-Jan Hartman hart...@videolan.org 2012-08-25 
10:42:26 UTC ---
Wow, there is just a multitude of issues here it seems.

First there seems to be code in the initial upload step to check for
duplicates. HOWEVER

1: I suspect the warning is actually encountered in setTransported(), and an
error is set, but the logic probably overrides this with setSuccess afterwards.
No feedback is ever provided and the upload seems just fine

You'll want something like:
if (warnings.duplicate) (or duplicate-archive)
var dupeFile = warnings.duplicate[0];

This file is already available as [[File:dupeFile]]. vs. for archived This
file was previously available as [[File:setTransported]].  Remove
upload/Continue

2: The archive error was not handled in the final step
https://gerrit.wikimedia.org/r/21405

3: The duplicate errors should be ignored in the final step, just as
was-deleted (which means you picked a title that previously has existed).

4: The .showError() of UploadDetails is simply non-recoverable. It does not
allow you to remove the file that is problematic, and esp. for unknown errors,
that is bad. I should allow you to remove the upload so you can continue the
other uploads in your list.

5: The .showError() does not surface the 'Continue' and/or Upload more files
buttons.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-08-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

--- Comment #15 from Derk-Jan Hartman hart...@videolan.org 2012-08-25 
13:44:08 UTC ---
Did this duplicate stuff ever work ?

I doubt it. It seems it is trying to insert a function to create a dialog into
the error msg. 

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84726
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/86874

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-08-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

--- Comment #12 from Mark Holmquist mtrac...@member.fsf.org 2012-08-16 
16:09:52 UTC ---
Hi,

Can someone on the CC list of this bug test again on Commons? One of the
patches tied to this bug got merged, and I think the behavior may already be
greatly improved. If it works, we can close the bug, if it doesn't, there is
another patch sitting in Gerrit that could end this bug's reign of terror.

Thanks!

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-08-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Mark Holmquist mtrac...@member.fsf.org changed:

   What|Removed |Added

   Keywords|patch-need-review   |patch-in-gerrit

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-06-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

--- Comment #11 from Saibo saibotr...@arcor.de 2012-06-26 15:55:06 UTC ---
still - user report:
https://commons.wikimedia.org/w/index.php?title=Commons:Help_deskoldid=73314455#Unknown_warning:_.22duplicate-archive.22.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-06-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Mark Holmquist mtrac...@member.fsf.org changed:

   What|Removed |Added

 CC||platoni...@gmail.com

--- Comment #10 from Mark Holmquist mtrac...@member.fsf.org 2012-06-01 
23:30:37 UTC ---
*** Bug 30643 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-05-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

--- Comment #5 from Mark Holmquist mtrac...@member.fsf.org 2012-05-29 
16:33:27 UTC ---
There are three new patches for properly dealing with API warnings, one of them
to mediawiki/core. This still doesn't fix the root of the issue for this bug (I
believe), so again, we need to land these changes before we can seriously
address the original issue.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-05-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

--- Comment #6 from Mark Holmquist mtrac...@member.fsf.org 2012-05-29 
16:34:20 UTC ---
First patch: https://gerrit.wikimedia.org/r/9259

Patch to core: https://gerrit.wikimedia.org/r/9261

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-05-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

--- Comment #7 from Mark Holmquist mtrac...@member.fsf.org 2012-05-29 
16:35:54 UTC ---
Augh! There needs to be an edit button.

Second patch to UW: https://gerrit.wikimedia.org/r/8728

The second patch to UW should deal with _some_ of the problems associated with
deleted files, but not all of them. duplicate-archive is, I think, still not
dealt with properly, but more testing is needed.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-05-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Mark Holmquist mtrac...@member.fsf.org changed:

   What|Removed |Added

 CC||saibotr...@arcor.de

--- Comment #8 from Mark Holmquist mtrac...@member.fsf.org 2012-05-29 
20:13:27 UTC ---
*** Bug 37125 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-05-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

--- Comment #9 from Mark Holmquist mtrac...@member.fsf.org 2012-05-29 
20:18:45 UTC ---
*** Bug 37126 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-05-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

--- Comment #4 from Brion Vibber br...@wikimedia.org 2012-05-23 19:35:52 UTC 
---
We had to revert that version as it was a bit janky.

When there are warnings, the 'warnings' object is an object in JSON output, but
when there are none it ends up becoming an array.

The additional check for empty warnings then got added to check for a 0 length
attribute, which would be the wrong check on an object.

Warnings such as 'bad-prefix' for 'IMG_132483247.JPG' were getting reported,
making it impossible to upload files directly from a camera since those
warnings were seen as 'unknown-warning'.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-05-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Mark Holmquist mtrac...@member.fsf.org changed:

   What|Removed |Added

 CC||niklas.laxst...@gmail.com

--- Comment #3 from Mark Holmquist mtrac...@member.fsf.org 2012-05-22 
17:37:08 UTC ---
*** Bug 36150 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-05-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Mark Holmquist mtrac...@member.fsf.org changed:

   What|Removed |Added

   Keywords||patch-need-review

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2012-05-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

--- Comment #2 from Mark Holmquist mtrac...@member.fsf.org 2012-05-11 
21:16:39 UTC ---
The reason there is absolutely no indication of what the server would do is
because, when UploadWizard passes in the parameter ignorewarnings, apart from
cleverly avoiding name-conflict errors, the API doesn't return any of the
warning data.

This patch fixes it: https://gerrit.wikimedia.org/r/7312

Once that patch gets accepted and merged, I can throw together a patch to UW
that will fix this bug fully. Expect it sometime in the near future.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2011-11-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Andre Engels andreeng...@gmail.com changed:

   What|Removed |Added

 CC||andreeng...@gmail.com

--- Comment #1 from Andre Engels andreeng...@gmail.com 2011-11-11 10:22:55 
UTC ---
I got the same problem (with failure An unknown error occurred.) when
uploading a file that, as far as I could see, was not equal to the previously
deleted one, but only had the same name.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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


[Bug 30625] UploadWizard does not handle 'duplicate-archive' errors correctly

2011-08-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

   Priority|Unprioritized   |High
 CC||m...@everybody.org

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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