Page MenuHomePhabricator

Fatal error in SpecialSetSiteLink when entering property id
Closed, ResolvedPublic

Description

Fatal error: Call to undefined method Wikibase\PropertyContent::getItem() in /var/www/common/wikibase-repo/extensions/Wikibase/repo/includes/specials/SpecialSetSiteLink.php on line 283

reported by Reedy, and likely related:

Fatal error: Call to undefined method Wikibase\Property::hasLinkToSite() in

/usr/local/apache/common-local/php-1.23wmf3/extensions/Wikibase/repo/includes/specials/SpecialSetSiteLink.php on line 230

Version: master
Severity: normal

Details

Reference
bz56933

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz56933.
bzimport added a subscriber: Unknown Object (MLST).
aude created this task.Nov 12 2013, 8:38 AM

Change 94864 had a related patch set uploaded by Aude:
Check id entered in SpecialSetSiteLink is an ItemId

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

Change 94865 had a related patch set uploaded by Aude:
Check id entered in SpecialSetSiteLink is an ItemId

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

Change 94864 abandoned by Aude:
Check id entered in SpecialSetSiteLink is an ItemId

Reason:
this might be enough edge case to have just fixed in master and in next deployment (or i can do new cherry pick)

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

Change 94865 merged by Addshore:
Check id entered in SpecialSetSiteLink is an ItemId

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

Verified in Wikidata demo time.