Last modified: 2014-04-15 14:00:38 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 T64965, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62965 - RuntimeException - Exception from line 103 of /data/project/apache/common-local/php-master/extensions/Wikidata/extensions/Wikibase/repo/includes/ParserOutputJsConfigBuilder.php: $entity has no entity id
RuntimeException - Exception from line 103 of /data/project/apache/common-lo...
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Immediate blocker (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=1 s=2014-03-18
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-22 22:10 UTC by Addshore
Modified: 2014-04-15 14:00 UTC (History)
5 users (show)

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


Attachments

Description Addshore 2014-03-22 22:10:37 UTC
Exception thrown on both beta and test wikidata when creating a new item using Special:NewItem


Unexpected non-MediaWiki exception encountered, of type "RuntimeException"
[71a0c0dc] /wiki/Special:NewItem Exception from line 103 of /data/project/apache/common-local/php-master/extensions/Wikidata/extensions/Wikibase/repo/includes/ParserOutputJsConfigBuilder.php: $entity has no entity id
Backtrace:
#0 /data/project/apache/common-local/php-master/extensions/Wikidata/extensions/Wikibase/repo/includes/ParserOutputJsConfigBuilder.php(86): Wikibase\ParserOutputJsConfigBuilder->getEntityVars(Wikibase\DataModel\Entity\Item, Wikibase\Lib\Serializers\SerializationOptions)
#1 /data/project/apache/common-local/php-master/extensions/Wikidata/extensions/Wikibase/repo/includes/EntityView.php(323): Wikibase\ParserOutputJsConfigBuilder->build(Wikibase\DataModel\Entity\Item, Wikibase\Lib\Serializers\SerializationOptions, boolean)
#2 /data/project/apache/common-local/php-master/extensions/Wikidata/extensions/Wikibase/repo/includes/content/EntityContent.php(149): Wikibase\EntityView->getParserOutput(Wikibase\EntityRevision, boolean, boolean)
#3 /data/project/apache/common-local/php-master/extensions/SpamBlacklist/SpamBlacklistHooks.php(28): Wikibase\EntityContent->getParserOutput(Title)
#4 [internal function]: SpamBlacklistHooks::filterMergedContent(RequestContext, Wikibase\ItemContent, Status, string, User, boolean)
#5 /data/project/apache/common-local/php-master/includes/Hooks.php(206): call_user_func_array(string, array)
#6 /data/project/apache/common-local/php-master/includes/GlobalFunctions.php(4011): Hooks::run(string, array, NULL)
#7 /data/project/apache/common-local/php-master/extensions/Wikidata/extensions/Wikibase/repo/includes/EditEntity.php(767): wfRunHooks(string, array)
#8 /data/project/apache/common-local/php-master/extensions/Wikidata/extensions/Wikibase/repo/includes/EditEntity.php(698): Wikibase\EditEntity->runEditFilterHooks(string)
#9 /data/project/apache/common-local/php-master/extensions/Wikidata/extensions/Wikibase/repo/includes/specials/SpecialWikibaseRepoPage.php(180): Wikibase\EditEntity->attemptSave(string, integer, string)
#10 /data/project/apache/common-local/php-master/extensions/Wikidata/extensions/Wikibase/repo/includes/specials/SpecialNewEntity.php(116): Wikibase\Repo\Specials\SpecialWikibaseRepoPage->saveEntity(Wikibase\DataModel\Entity\Item, Wikibase\Summary, string, integer)
#11 /data/project/apache/common-local/php-master/includes/specialpage/SpecialPage.php(376): Wikibase\Repo\Specials\SpecialNewEntity->execute(NULL)
#12 /data/project/apache/common-local/php-master/includes/specialpage/SpecialPageFactory.php(490): SpecialPage->run(NULL)
#13 /data/project/apache/common-local/php-master/includes/Wiki.php(285): SpecialPageFactory::executePath(Title, RequestContext)
#14 /data/project/apache/common-local/php-master/includes/Wiki.php(588): MediaWiki->performRequest()
#15 /data/project/apache/common-local/php-master/includes/Wiki.php(447): MediaWiki->main()
#16 /data/project/apache/common-local/php-master/index.php(49): MediaWiki->run()
#17 /data/project/apache/common-local/w/index.php(3): require(string)
#18 {main}
Comment 1 Addshore 2014-03-22 22:23:44 UTC
This is the second recent bug that has slipped through everything as it comes from the SpamBlacklistHooks call.

Maybe we should test with spamblacklist?
Or at least run selenium tests against the special pages with spamblacklist!
Comment 2 Gerrit Notification Bot 2014-03-22 22:35:38 UTC
Change 120322 had a related patch set uploaded by Addshore:
Fix RuntimeException in Special:Newitem with SpamBlacklist

https://gerrit.wikimedia.org/r/120322
Comment 3 Lydia Pintscher 2014-03-22 22:38:17 UTC
Yes we should!
Comment 4 Gerrit Notification Bot 2014-03-22 22:39:33 UTC
Change 120323 had a related patch set uploaded by Addshore:
Fix RuntimeException in Special:Newitem with SpamBlacklist

https://gerrit.wikimedia.org/r/120323
Comment 5 Gerrit Notification Bot 2014-03-22 22:43:22 UTC
Change 120324 had a related patch set uploaded by Addshore:
Fix RuntimeException in Special:Newitem with SpamBlacklist

https://gerrit.wikimedia.org/r/120324
Comment 6 Gerrit Notification Bot 2014-03-22 23:51:00 UTC
Change 120322 merged by Jeroen De Dauw:
Fix RuntimeException in Special:Newitem with SpamBlacklist

https://gerrit.wikimedia.org/r/120322
Comment 7 Gerrit Notification Bot 2014-03-24 11:32:36 UTC
Change 120324 abandoned by Addshore:
Fix RuntimeException in Special:Newitem with SpamBlacklist

Reason:
We have so much going into the build branch now we might as well make composer do all this at once!

https://gerrit.wikimedia.org/r/120324
Comment 8 Gerrit Notification Bot 2014-03-24 13:29:26 UTC
Change 120323 merged by jenkins-bot:
Fix RuntimeException in Special:Newitem with SpamBlacklist

https://gerrit.wikimedia.org/r/120323

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


Navigation
Links