The "Copy metadata" functionality is lost after the code update on 30. August 2012.
Version: master
Severity: major
The "Copy metadata" functionality is lost after the code update on 30. August 2012.
Version: master
Severity: major
Rephrase:
I found the link now in a batch upoad of 16 images: The "copy metadata" link is now at the 4th image of the batch. I guess the 4th postion is random?
I don't think this is a regression, or at least, I think the regression is caused by us assuming reasonable treatment of upload order. See also bug 39746.
It's a regression in that the upload order is now broken again, causing this functionality to fail as well.
See also https://gerrit.wikimedia.org/r/#/c/4987/ which was the change I made a while ago to fix the display order.
Erik,
How hard would it be to properly handle array deletions and things inside of each upload? We basically need to make sure that the reservedIndex members are sequential, at the very least by the end of the selection process....or maybe at the beginning of startUploads?
22273 doesn't fix the problem, unfortunately. The problem is caused by the call to showNext() that was added to mw.UploadWizardUpload.js here:
https://gerrit.wikimedia.org/r/#/c/20814/13/resources/mw.UploadWizardUpload.js
Unfortunately, removing that call breaks (in certain cases) the new warning overriding feature that was added.
The basic problem is that the ordering of the images (and how they are added into the uploads array) has been complicated by the fact that we now allow users to override uploads that fail due to warnings. Because of this feature, we don't actually know what images are going to get used until the user clicks the Continue button and advances to the deeds step. There are a few different ways this can be fixed.
If we can safely remove the warning override option (we only trigger it for duplicate-archive cases, right?), I'd suggest we do that for now so we can fix the regression and then implement a proper fix later.
Yes, it's only for duplicate-archives cases currently. If we remove the override option, we can also safely remove the showNext call from the setSuccess method, which should eliminate the inconsistent ordering.
I'm always for fixing things now, but if we only have time for the quick option, I'd prefer number 1 to number 3 I think. Thanks, kaldari.
Temporary fix checked in for today's deployment:
https://gerrit.wikimedia.org/r/#/c/22921/
https://gerrit.wikimedia.org/r/#/c/65318/ attempts to re-enable the option to upload previously deleted files