Last modified: 2013-06-05 14:11:28 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 T50497, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48497 - Undefined offset in ByPropertyIdArray
Undefined offset in ByPropertyIdArray
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-15 06:43 UTC by Aude
Modified: 2013-06-05 14:11 UTC (History)
2 users (show)

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


Attachments

Description Aude 2013-05-15 06:43:26 UTC
I get an undefined offset notice in the client, when using the {{#property}} parser function to reference a property that is not used in the connected item.


Notice: Undefined offset: 10 in /var/www/common/wikibase-client/extensions/Wikibase/lib/includes/ByPropertyIdArray.php on line 102



Call Stack:

0.0038 333960 1. {main}() /var/www/common/wikibase-client/index.php:0

0.0671 2665752 2. MediaWiki->run() /var/www/common/wikibase-client/index.php:59

0.0679 2666648 3. MediaWiki->main() /var/www/common/wikibase-client/includes/Wiki.php:458

0.1890 3454420 4. MediaWiki->performRequest() /var/www/common/wikibase-client/includes/Wiki.php:565

0.2545 3749072 5. MediaWiki->performAction() /var/www/common/wikibase-client/includes/Wiki.php:305

0.2561 3751200 6. ViewAction->show() /var/www/common/wikibase-client/includes/Wiki.php:439

0.2561 3751200 7. Article->view() /var/www/common/wikibase-client/includes/actions/ViewAction.php:44

0.5565 4835812 8. PoolCounterWork->execute() /var/www/common/wikibase-client/includes/Article.php:707

0.5862 4845752 9. PoolWorkArticleView->doWork() /var/www/common/wikibase-client/includes/PoolCounter.php:222

0.5863 4845840 10. WikitextContent->getParserOutput() /var/www/common/wikibase-client/includes/WikiPage.php:3427

0.5864 4846016 11. Parser->parse() /var/www/common/wikibase-client/includes/content/WikitextContent.php:300

0.5929 4862964 12. Parser->internalParse() /var/www/common/wikibase-client/includes/parser/Parser.php:386

0.5938 4864796 13. Parser->replaceVariables() /var/www/common/wikibase-client/includes/parser/Parser.php:1157

0.5986 4870520 14. PPFrame_DOM->expand() /var/www/common/wikibase-client/includes/parser/Parser.php:3101

0.5998 4876012 15. Parser->braceSubstitution() /var/www/common/wikibase-client/includes/parser/Preprocessor_DOM.php:1085

0.6070 4889580 16. Parser->callParserFunction() /var/www/common/wikibase-client/includes/parser/Parser.php:3278

0.6092 4946744 17. call_user_func_array() /var/www/common/wikibase-client/includes/parser/Parser.php:3560

0.6092 4947080 18. Wikibase\PropertyParserFunction::render() /var/www/common/wikibase-client/includes/parser/Parser.php:3560

9.0996 8830452 19. Wikibase\PropertyParserFunction->renderForEntityId() /var/www/common/wikibase-client/extensions/Wikibase/client/includes/parserhooks/PropertyParserFunction.php:199

9.1598 8859668 20. Wikibase\PropertyParserFunction->getClaimsForProperty() /var/www/common/wikibase-client/extensions/Wikibase/client/includes/parserhooks/PropertyParserFunction.php:142

9.2274 8894596 21. Wikibase\Claims->getClaimsForProperty() /var/www/common/wikibase-client/extensions/Wikibase/client/includes/parserhooks/PropertyParserFunction.php:91

9.2279 8903428 22. Wikibase\ByPropertyIdArray->getByPropertyId() /var/www/common/wikibase-client/extensions/Wikibase/DataModel/DataModel/Claim/Claims.php:182
Comment 2 Gerrit Notification Bot 2013-05-15 22:07:33 UTC
https://gerrit.wikimedia.org/r/63710 (Gerrit Change I7308c74e7de70b9c43da6f232270d8379ad4704b) | change APPROVED and MERGED [by Jeroen De Dauw]
Comment 3 Gerrit Notification Bot 2013-05-20 14:57:11 UTC
Related URL: https://gerrit.wikimedia.org/r/64579 (Gerrit Change I7308c74e7de70b9c43da6f232270d8379ad4704b)
Comment 4 Gerrit Notification Bot 2013-05-20 15:20:10 UTC
https://gerrit.wikimedia.org/r/64579 (Gerrit Change I7308c74e7de70b9c43da6f232270d8379ad4704b) | change APPROVED and MERGED [by Aude]
Comment 5 abraham.taherivand 2013-06-05 14:11:28 UTC
Verified in Wikidata demo sprint 22-6

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


Navigation
Links