Page MenuHomePhabricator

PHP Fatal moving Semantic pages
Closed, ResolvedPublic

Description

Author: timq

Description:
I am getting a PHP fatal error whenever I move a page on SMW 1.8

Call to protected method SMWSql3SmwIds::deleteCache() from context 'SMWSQLStore3Writers' in /path/to/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Writers.php on line 650

The page move goes through, but the semantic data from the old page does not get deleted, leading to double results in queries until I delete the page (deletion of pages with Semantic data goes through fine and DOES delete the data) and recreate the page solely as a redirect.


http://www.thethirdturn.com/wiki/Special:Version

Highlights:

MediaWiki 1.18.1
PHP 5.3.6 (apache2handler)
MySQL 5.0.96-community

Semantic Forms (Version 2.4.2)
Semantic Forms Inputs (Version 0.4.1)
Semantic Internal Objects (Version 0.6.6)
Semantic Maps (Version 2.0)
Semantic MediaWiki (Version 1.8)
Semantic Result Formats (Version 1.8)


Version: master
Severity: normal

Details

Reference
bz43080

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:12 AM
bzimport set Reference to bz43080.

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

Reopening as per https://bugzilla.wikimedia.org/show_bug.cgi?id=43474

A new error shows up, quoting-

Call to undefined method SMWSql3SmwIds::getHashKey() in
/path/to/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_Sql3SmwIds.php
on line 715

Fix attempt in https://gerrit.wikimedia.org/r/#/c/41218/
Markus would know what to do here, I did what looked obvious.

Tim, please test with the new patch

Method is public now, error can no longer occur. If there is another issue now, please create a new bug report