Page MenuHomePhabricator

Data lost when moving page?
Closed, DeclinedPublic

Description

I have observed at least one case where moving a page did not successfully move its data along. If this is systematic, this would by a critical bug. For now, this needs more investigation to be confirmed.

The wiki where the problem occurred was running MW 1.14alpha (r44498) and SMW 1.5f.


Version: unspecified
Severity: major

Details

Reference
bz20560

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:57 PM
bzimport set Reference to bz20560.

No such bug appeared again, but a possibly related issue (with a reproducible cause) was reported in Bug 23189. Closing this report.

c_b_dvs wrote:

I'm running into the same issue with Mediawiki 1.16.2 and SMW 1.5.6. To duplicate this, I create a page with a single property, move it, and then can use Special:ExportRDF to verify that the data has not been moved. If I edit and then save the page, then the output of Special:ExportRDF is then updated correctly.

c_b_dvs wrote:

I'm still seeing a version of this error when using Mediawiki 1.17.0 and Semantic MediaWiki 1.6.1. I'm able to reproduce it using the method mentioned in my previous comment. What happens now is that I get the data stored on both the old page and the new page (seen when using Special:ExportRDF). Re-saving the old page which contains the redirect does not fix it.

As a note about possible user error, I'm using a caching proxy server (squid), but I make sure to purge the cache of the pages generated by Special:ExportRDF (i.e. I purge http://.../Special:ExportRDF/TestPage1 and TestPage2).

Lowering priority. Please do not raise the priority unless you are planning to fix this.

Updating priority. It would be good to test this again with recent code to see if there is such a problem or not.

dr.ishmael wrote:

We are encountering this problem on the Guild Wars 2 Wiki (http://wiki.guildwars2.com/wiki/Special:Version MW 1.20.5 / SMW 1.8.0.4). The servers are owned and administered by ArenaNet, so I don't know all the details, but I know they are running a master/slave database configuration and a Varnish cache (also don't know whether that matters or not).

When a page is moved with redirect, its properties are all duplicated. Deleting the redirect does nothing, but deleting the page and restoring it (or editing the page to remove the properties and then reverting) will rebuild the properties correctly.

Aklapper subscribed.

The Semantic MediaWiki developers requested in https://phabricator.wikimedia.org/T64114 to move their task tracking to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues and to close remaining tasks in Wikimedia Phabricator. If you still face the problem reported in this task in a supported version of SMW, please feel free to transfer your report to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues . We are sorry for the inconvenience.