Last modified: 2013-09-05 22:15:10 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 T45766, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43766 - PHP Notice: Undefined index: transclusion in includes/actions/InfoAction.php
PHP Notice: Undefined index: transclusion in includes/actions/InfoAction.php
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.21.x
All All
: High normal (vote)
: ---
Assigned To: Tyler Romeo
https://translatewiki.net/wiki/Main_P...
: code-update-regression
Depends on:
Blocks: 39480
  Show dependency treegraph
 
Reported: 2013-01-09 09:47 UTC by Siebrand Mazeland
Modified: 2013-09-05 22:15 UTC (History)
5 users (show)

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


Attachments

Description Siebrand Mazeland 2013-01-09 09:47:08 UTC
Observed on translatewiki.net when visiting URL.

[09-Jan-2013 09:41:54 UTC] PHP Notice:  Undefined index: transclusion in /www/translatewiki.net/w/includes/actions/InfoAction.php on line 495
[09-Jan-2013 09:41:54 UTC] PHP Notice:  Undefined index: transclusion in /www/translatewiki.net/w/includes/actions/InfoAction.php on line 513

Probably caused by not initialising a variable in Gerrit change #31504.
Comment 1 Tyler Romeo 2013-01-09 11:59:14 UTC
I don't think this is a software bug, because those indexes are definitely initialized. I think the problem is that InfoAction now caches the result of InfoAction::pageCounts, where those indexes are set. It's probably still reading a cached version, and the cache doesn't have those indexes since it's a new change.
Comment 2 db [inactive,noenotif] 2013-03-16 23:42:56 UTC
Needs versioning of the cache to avoid this out of date cached entry.
Comment 3 Tyler Romeo 2013-03-17 04:41:45 UTC
https://gerrit.wikimedia.org/r/54207
Comment 4 Andre Klapper 2013-07-25 08:04:12 UTC
Patch in Gerrit needs review...
Comment 5 Gerrit Notification Bot 2013-09-05 22:15:10 UTC
Change 54207 merged by jenkins-bot:
Add cache versioning to InfoAction.

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

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


Navigation
Links