Last modified: 2011-06-17 21:51:32 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 T31457, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29457 - no predefined property with SMW 1.6 an MW 1.19
no predefined property with SMW 1.6 an MW 1.19
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-17 15:36 UTC by DaSch
Modified: 2011-06-17 21:51 UTC (History)
1 user (show)

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


Attachments

Description DaSch 2011-06-17 15:36:40 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}
Comment 1 Yaron Koren 2011-06-17 15:43:10 UTC
Hi,

Are you using the latest versions of SMW and SF? And where do you see that error message?
Comment 2 DaSch 2011-06-17 18:41:58 UTC
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
Comment 3 Yaron Koren 2011-06-17 20:40:05 UTC
Hi, I can't reproduce this. Is this on a public wiki? If so, can you point to the URL with the error?
Comment 4 DaSch 2011-06-17 21:16:26 UTC
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
Comment 5 Yaron Koren 2011-06-17 21:41:38 UTC
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.
Comment 6 DaSch 2011-06-17 21:51:32 UTC
Okay. Now it works. Thanks

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


Navigation
Links