Last modified: 2013-04-22 16:16:53 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 T45080, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43080 - PHP Fatal moving Semantic pages
PHP Fatal moving Semantic pages
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nischay Nahata
: patch-need-review
: 43474 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-13 17:10 UTC by Tim Quievryn
Modified: 2013-04-22 16:16 UTC (History)
4 users (show)

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


Attachments

Description Tim Quievryn 2012-12-13 17:10:51 UTC
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)
Comment 1 Nischay Nahata 2012-12-20 14:22:52 UTC
Fix attempt in https://gerrit.wikimedia.org/r/#/c/39575/
Comment 2 Nischay Nahata 2012-12-29 15:37:25 UTC
*** Bug 43474 has been marked as a duplicate of this bug. ***
Comment 3 Nischay Nahata 2012-12-29 15:39:08 UTC
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
Comment 4 Nischay Nahata 2012-12-29 16:22:22 UTC
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
Comment 5 Jeroen De Dauw 2013-01-18 21:40:18 UTC
Method is public now, error can no longer occur. If there is another issue now, please create a new bug report

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


Navigation
Links