Last modified: 2011-10-23 09:13:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32580, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30580 - Occasional database error when deleting an image
Occasional database error when deleting an image
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
GlobalUsage (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-26 08:36 UTC by Gregor Hagedorn
Modified: 2011-10-23 09:13 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gregor Hagedorn 2011-08-26 08:36:56 UTC
When deleting about 15 images from the shared repository, in one case the following error occurred:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

    (SQL query hidden)

from within function "GlobalUsage::copyLocalImagelinks". Database returned error "1062: Duplicate entry 'Truite_arc-en-ciel.jpg-openmedia-107092' for key 1 (localhost:8088)". 

reproducing the error is not possible, obviously. I tested whether it occurs when erroneously deleting the same images twice, this is not the case and works with appropriate message as expected.

Version: http://species-id.net/openmedia/Special:Version
Comment 1 Gregor Hagedorn 2011-08-26 08:41:57 UTC
Just to confirm: in a second set of 12 deletes, again 1 error:

.. from within function "GlobalUsage::copyLocalImagelinks". Database returned error "1062: Duplicate entry 'Anang_u0.gif-openmedia-107039' for key 1 (localhost:8088)".
Comment 2 Gregor Hagedorn 2011-10-23 09:13:36 UTC
Did no longer appear, might be fixed in revisions since. Will reopen if reappearing.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links