Page MenuHomePhabricator

"Move subpages" option causes database query syntax error
Closed, ResolvedPublic

Description

When moving pages with the "move subpages" option checked on en.wiki, I consistently get a database syntax query error, for example:

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 "MovePageForm::moveToNewTitle". Database returned error "1062: Duplicate entry '4-Database_reports/Recently_created_biographies_of_living_people' for key 2 (10.0.6.26)".

It moves the root page, but doesn't move any of the subpages.


Version: 1.16.x
Severity: minor

Details

Reference
bz20797

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:47 PM
bzimport set Reference to bz20797.
bzimport added a subscriber: Unknown Object (MLST).

Bryan.TongMinh wrote:

For which page do you get the error? For all pages or only specific pages?

This happens for all pages. And it happens on test.wikipedia as well as en.wiki. Only happens when the "move subpages" box is checked. Seems to be consistent if the checkbox is checked, though.

  • Bug 20876 has been marked as a duplicate of this bug. ***