Last modified: 2011-04-13 18:26:17 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 T30527, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28527 - CodeReview breaks update.php
CodeReview breaks update.php
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CodeReview (Other open bugs)
unspecified
All All
: Low major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-13 18:24 UTC by Roan Kattouw
Modified: 2011-04-13 18:26 UTC (History)
2 users (show)

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


Attachments

Description Roan Kattouw 2011-04-13 18:24:09 UTC
To reproduce, run update.php twice. On the second run, or possibly on the first, you get this:

...cpc_author key already set on code_prop_changes table.
Modifying cpc_attrib field of table code_prop_changes...A database query syntax error has occurred.
The last attempted database query was:
"INSERT INTO `updatelog`( ul_key ) VALUES( 'make cpc_attrib varchar' )
"
from within function "DatabaseBase::sourceFile( /home/catrope/mediawiki/trunk/extensions/CodeReview/archives/codereview-cpc_attrib_varchar.sql )".
Database returned error "1062: Duplicate entry 'make cpc_attrib varchar' for key 'PRIMARY' (localhost)"

Reproduced on trunk, haven't tried REL1_17.
Comment 1 Sam Reed (reedy) 2011-04-13 18:26:17 UTC
Already fixed

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


Navigation
Links