Last modified: 2013-08-22 14:13:19 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 T54614, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52614 - Fatal error when adding already existing sitelink with Special:SetSiteLink
Fatal error when adding already existing sitelink with Special:SetSiteLink
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-07 16:41 UTC by tobias.gritschacher
Modified: 2013-08-22 14:13 UTC (History)
2 users (show)

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


Attachments

Description tobias.gritschacher 2013-08-07 16:41:03 UTC
When trying to add a sitelink which is already used by another item with Special:SetSiteLink you'll get a fatal error:

Fatal error: Call to a member function parse() on a non-object in C:\xampp\htdocs\mediawiki\extensions\Wikibase\repo\includes\specials\SpecialModifyEntity.php on line 94
Comment 1 Gerrit Notification Bot 2013-08-09 09:16:59 UTC
Change 78366 had a related patch set uploaded by Tobias Gritschacher:
(bug 52614) Fix error in Special:SetSiteLink

https://gerrit.wikimedia.org/r/78366
Comment 2 Sam Reed (reedy) 2013-08-10 08:54:00 UTC
For reference, backtrace is:

[10-Aug-2013 08:38:51] Fatal error: Call to a member function parse() on a non-object at /usr/local/apache/common-local/php-1.22wmf12/extensions/Wikibase/repo/includes/specials/SpecialModifyEntity.php on line 94
Server: mw1038
Method: POST
URL: http://www.wikidata.org/wiki/Special:SetLabel
Backtrace:
#0 /usr/local/apache/common-local/php-1.22wmf12/extensions/Wikibase/repo/includes/specials/SpecialModifyEntity.php(94): SpecialModifyEntity::execute()
#1 /usr/local/apache/common-local/php-1.22wmf12/includes/SpecialPage.php(631): SpecialModifyEntity->execute(NULL)
#2 /usr/local/apache/common-local/php-1.22wmf12/includes/SpecialPageFactory.php(488): SpecialPage->run(NULL)
#3 /usr/local/apache/common-local/php-1.22wmf12/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#4 /usr/local/apache/common-local/php-1.22wmf12/includes/Wiki.php(565): MediaWiki->performRequest()
#5 /usr/local/apache/common-local/php-1.22wmf12/includes/Wiki.php(458): MediaWiki->main()
#6 /usr/local/apache/common-local/php-1.22wmf12/index.php(55): MediaWiki->run()
#7 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#8 {main}
Comment 3 Gerrit Notification Bot 2013-08-12 09:31:19 UTC
Change 78366 merged by Addshore:
(bug 52614) Fix error in Special:SetSiteLink

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

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


Navigation
Links