User "Jeroen De Dauw" changed the status of MediaWiki.r87951. Old Status: deferred New Status: fixme
User "Jeroen De Dauw" also posted a comment on MediaWiki.r87951. Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/87951#c16814 Commit summary: moved stubbing features of SMWSemanticData container to a new subclass, since the code is specific to SQL backends, and not needed in other places that use such data Comment: I'm getting this error when refreshing the semantic data and then running runJobs.php. <pre>Fatal error: Call to undefined method SMWSemanticData::addPropertyStubValue() in /var/www/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php on line 194 Call Stack: 0.0178 686312 1. {main}() /var/www/phase3/maintenance/runJobs.php:0 0.1104 1241968 2. require_once('/var/www/phase3/maintenance/doMaintenance.php') /var/www/phase3/maintenance/runJobs.php:108 0.4175 22347808 3. RunJobs->execute() /var/www/phase3/maintenance/doMaintenance.php:115 27.1408 42121760 4. SMWUpdateJob->run() /var/www/phase3/maintenance/runJobs.php:78 27.1447 42136640 5. Parser->parse() /var/www/extensions/SemanticMediaWiki/includes/jobs/SMW_UpdateJob.php:60 27.1455 42129408 6. Parser->internalParse() /var/www/phase3/includes/parser/Parser.php:315 27.1455 42129800 7. Parser->replaceVariables() /var/www/phase3/includes/parser/Parser.php:1106 27.1462 42133384 8. PPFrame_DOM->expand() /var/www/phase3/includes/parser/Parser.php:2948 27.1464 42142568 9. Parser->braceSubstitution() /var/www/phase3/includes/parser/Preprocessor_DOM.php:986 27.1532 42158128 10. PPFrame_DOM->expand() /var/www/phase3/includes/parser/Parser.php:3281 27.1535 42169248 11. Parser->braceSubstitution() /var/www/phase3/includes/parser/Preprocessor_DOM.php:986 27.1689 42190088 12. call_user_func_array() /var/www/phase3/includes/parser/Parser.php:3153 27.1689 42191088 13. SMWAsk::render() /var/www/phase3/includes/parser/Parser.php:0 27.1690 42192568 14. SMWQueryProcessor::getResultFromFunctionParams() /var/www/extensions/SemanticMediaWiki/includes/parserhooks/SMW_Ask.php:34 27.1707 42218072 15. SMWQueryProcessor::getResultFromQueryString() /var/www/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php:254 27.1910 42436312 16. SMWQueryProcessor::getResultFromQuery() /var/www/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php:270 27.2159 42475712 17. SMMapper->getResult() /var/www/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php:302 27.2159 42476464 18. SMMapper->__call() /var/www/extensions/SemanticMaps/includes/queryprinters/SM_Mapper.php:0 27.2159 42477096 19. call_user_func_array() /var/www/extensions/SemanticMaps/includes/queryprinters/SM_Mapper.php:84 27.2159 42477840 20. SMMapPrinter->getResult() /var/www/extensions/SemanticMaps/includes/queryprinters/SM_Mapper.php:0 27.2437 42492400 21. SMMapPrinter->getResultText() /var/www/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php:335 27.2451 42644552 22. SMQueryHandler->getLocations() /var/www/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php:186 27.2452 42644552 23. SMQueryHandler->findLocations() /var/www/extensions/SemanticMaps/includes/queryprinters/SM_QueryHandler.php:224 27.2452 42648640 24. SMQueryHandler->handleResultRow() /var/www/extensions/SemanticMaps/includes/queryprinters/SM_QueryHandler.php:241 27.2632 44512912 25. SMWResultArray->getNextDataValue() /var/www/extensions/SemanticMaps/includes/queryprinters/SM_QueryHandler.php:268 27.2632 44512912 26. SMWResultArray->getNextDataItem() /var/www/extensions/SemanticMediaWiki/includes/storage/SMW_QueryResult.php:347 27.2632 44512912 27. SMWResultArray->loadContent() /var/www/extensions/SemanticMediaWiki/includes/storage/SMW_QueryResult.php:331 27.2633 44512992 28. SMWSQLStore2->getPropertyValues() /var/www/extensions/SemanticMediaWiki/includes/storage/SMW_QueryResult.php:405 27.2640 44513640 29. SMWSQLStore2->getSemanticData() /var/www/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php:223</pre> _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
