Last modified: 2010-05-15 16:03:22 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 T16258, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14258 - Attempting to move with subpages to a namespace allowing subpages fails with DB error
Attempting to move with subpages to a namespace allowing subpages fails with ...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.13.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-25 12:51 UTC by MER-C
Modified: 2010-05-15 16:03 UTC (History)
3 users (show)

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


Attachments

Description MER-C 2008-05-25 12:51:18 UTC
Trying to move [[testwiki:User:MER-C]] with subpages and talk pages generates the following database error:

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 "Article::insertOn". MySQL returned error "1062: Duplicate entry '2-MER-C' for key 2 (10.0.0.101)".

Only one page is moved. Logs of attempts are at http://test.wikipedia.org/w/index.php?title=Special%3ALog&type=move&user=MER-C&limit=6 .
Comment 1 Ilmari Karonen 2008-05-31 20:31:22 UTC
Same here on enwiki.  Trying to move [[User:Ilmari Karonen/sandbox]] and subpages to [[User:Ilmari Karonen/just testing]] gives:

  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 "Article::insertOn". MySQL returned error "1062: Duplicate entry '2-Ilmari_Karonen/sandbox' for key 2 (10.0.0.235)".

and none of the subpages get moved.  See also discussion at [[WP:VPT#Subpage moves]].
Comment 2 Aaron Schulz 2008-05-31 22:17:28 UTC
I can't reproduce this on my testwiki
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-06-01 16:34:33 UTC
I'm not sure what the problem might be from the error given.  It might help if a shell user could provide the SQL query that's failing?
Comment 4 Brion Vibber 2008-06-02 21:49:16 UTC
Fixed in r35762; same problem as bug 14368. The list of additional pages was being pulled from a slave server, which was not up to date, and ended up including the original page, so it tried to move it twice.
Comment 5 Ilmari Karonen 2008-06-03 04:49:10 UTC
Yup, seems to be working now: [[Special:Contributions/The_red_sun_rises.%E2%80%A6]] :-/  Now we just need to fix the throttle issue (bug 14356)...

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


Navigation
Links