Last modified: 2011-06-17 21:51:32 UTC
When using Semantic Forms (r90273) with SMW 1.6 and MW 1.19 in the same revision I get this error. MediaWiki 1.19alpha internal error There is no predefined property with "_SF_CP". Backtrace: #0 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_Property.php(241): SMWDIProperty->__construct('_SF_CP', false) #1 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticForms/includes/SF_Utils.php(86): SMWDIProperty::newFromUserLabel('_SF_CP') #2 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticForms/includes/SF_FormLinker.php(137): SFUtils::getSMWPropertyValues(Object(SMWSQLStore2), Object(Title), '_SF_CP') #3 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticForms/includes/SF_FormLinker.php(168): SFFormLinker::getFormsThatPagePointsTo('Lage_(Stadt)', 102, 4) #4 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticForms/includes/SF_FormLinker.php(269): SFFormLinker::createLinkedPage(Object(Title), Array) #5 [internal function]: SFFormLinker::setBrokenLink(Object(DummyLinker), Object(Title), Array, 'Adelsheim', Array, NULL) #6 /var/www/vhosts/wecowi.de/httpdocs/includes/Hooks.php(216): call_user_func_array('SFFormLinker::s...', Array) #7 /var/www/vhosts/wecowi.de/httpdocs/includes/GlobalFunctions.php(3548): Hooks::run('LinkEnd', Array) #8 /var/www/vhosts/wecowi.de/httpdocs/includes/Linker.php(216): wfRunHooks('LinkEnd', Array) #9 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/LinkHolderArray.php(374): Linker::link(Object(Title), 'Adelsheim', Array, Array, Array) #10 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/LinkHolderArray.php(238): LinkHolderArray->replaceInternal('<table style="b...') #11 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(4696): LinkHolderArray->replace('<table style="b...') #12 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(353): Parser->replaceLinkHolders('<table style="b...') #13 /var/www/vhosts/wecowi.de/httpdocs/includes/Article.php(4300): Parser->parse('{{Infobox Feuer...', Object(Title), Object(ParserOptions), true, true, 83536) #14 /var/www/vhosts/wecowi.de/httpdocs/includes/Article.php(4277): Article->getOutputFromWikitext('{{Infobox Feuer...', true, Object(ParserOptions)) #15 /var/www/vhosts/wecowi.de/httpdocs/includes/Article.php(1577): Article->outputWikiText('{{Infobox Feuer...', true, Object(ParserOptions)) #16 /var/www/vhosts/wecowi.de/httpdocs/includes/Article.php(4553): Article->doViewParse() #17 /var/www/vhosts/wecowi.de/httpdocs/includes/PoolCounter.php(183): PoolWorkArticleView->doWork() #18 /var/www/vhosts/wecowi.de/httpdocs/includes/Article.php(1100): PoolCounterWork->execute() #19 /var/www/vhosts/wecowi.de/httpdocs/includes/Wiki.php(419): Article->view() #20 /var/www/vhosts/wecowi.de/httpdocs/includes/Wiki.php(189): MediaWiki->performAction(Object(Article)) #21 /var/www/vhosts/wecowi.de/httpdocs/index.php(152): MediaWiki->performRequest() #22 /var/www/vhosts/wecowi.de/httpdocs/index.php(70): wfIndexMain() #23 {main}
Hi, Are you using the latest versions of SMW and SF? And where do you see that error message?
I've the latest Version of SMW and SF the Form Namespace works, it seams a bit that it's on pages where #arraymap is used, cause the error is displayed on pages where no form is used but #arraymap
Hi, I can't reproduce this. Is this on a public wiki? If so, can you point to the URL with the error?
Here is a page with the error http://www.wecowi.de/wiki/Letzigrund_Stadion And it's definitly something about the arraymap, because when I deleted the things that use arraymap on my Mainpage the error disapeared And when using an form with arraymap it only displayes x where the array should be http://www.wecowi.de/wiki/Spezial:FormEdit/Infobox_Land/Something
Ah, yes - that's a real bug, caused by the fact that there's no translation yet for "Creates pages with form" in German. I believe I just fixed this in SVN.
Okay. Now it works. Thanks