Last modified: 2014-09-02 20:23:47 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 T70885, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68885 - view Echo notifications get fatal in Flow Notifications/Formatter.php
view Echo notifications get fatal in Flow Notifications/Formatter.php
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-30 23:38 UTC by spage
Modified: 2014-09-02 20:23 UTC (History)
7 users (show)

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


Attachments

Description spage 2014-07-30 23:38:54 UTC
Benny visited test.wikipedia.org for the first time in months, clicking Echo notification overlay or visiting Special:Notifications caused a fatal.

It's not happening for spage.  Nothing in fatals.log for other servers or users.


[2014-07-30 23:23:19] Fatal error: Call to a member function getAlphadecimal() on a non-object at /usr/local/apache/common-local/php-1.24wmf15/extensions/Flow/includes/Notifications/Formatter.php on line 67
Server: mw1017
Method: GET
URL: http://test.wikipedia.org/wiki/Special:Notifications
Cookie: XXX
Backtrace:
#0 /usr/local/apache/common-local/php-1.24wmf15/extensions/Flow/includes/Notifications/Formatter.php(67): Flow\NotificationFormatter::getPostLinkAnchor()
#1 /usr/local/apache/common-local/php-1.24wmf15/extensions/Flow/includes/Notifications/Formatter.php(31): Flow\NotificationFormatter->getPostLinkAnchor(Object(EchoEvent), Object(User))
#2 /usr/local/apache/common-local/php-1.24wmf15/extensions/Echo/formatters/BasicFormatter.php(647): Flow\NotificationFormatter->processParam(Object(EchoEvent), 'post-permalink', Object(Message), Object(User))
#3 /usr/local/apache/common-local/php-1.24wmf15/extensions/Echo/formatters/BasicFormatter.php(361): EchoBasicFormatter->processParams(Array, Object(EchoEvent), Object(Message), Object(User))
#4 /usr/local/apache/common-local/php-1.24wmf15/extensions/Echo/formatters/BasicFormatter.php(262): EchoBasicFormatter->formatFragment(Array, Object(EchoEvent), Object(User))
#5 /usr/local/apache/common-local/php-1.24wmf15/extensions/Echo/formatters/BasicFormatter.php(222): EchoBasicFormatter->formatNotificationTitle(Object(EchoEvent), Object(User))
#6 /usr/local/apache/common-local/php-1.24wmf15/extensions/Echo/controller/NotificationController.php(338): EchoBasicFormatter->format(Object(EchoEvent), Object(User), 'web')
#7 /usr/local/apache/common-local/php-1.24wmf15/extensions/Echo/api/ApiEchoNotifications.php(145): EchoNotificationController::formatNotification(Object(EchoEvent), Object(User), 'html')
#8 /usr/local/apache/common-local/php-1.24wmf15/extensions/Echo/special/SpecialNotifications.php(41): ApiEchoNotifications::getNotifications(Object(User), 'html', 21, NULL)
#9 /usr/local/apache/common-local/php-1.24wmf15/includes/specialpage/SpecialPage.php(382): SpecialNotifications->execute(NULL)
#10 /usr/local/apache/common-local/php-1.24wmf15/includes/specialpage/SpecialPageFactory.php(516): SpecialPage->run(NULL)
#11 /usr/local/apache/common-local/php-1.24wmf15/includes/MediaWiki.php(288): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#12 /usr/local/apache/common-local/php-1.24wmf15/includes/MediaWiki.php(603): MediaWiki->performRequest()
#13 /usr/local/apache/common-local/php-1.24wmf15/includes/MediaWiki.php(452): MediaWiki->main()
#14 /usr/local/apache/common-local/php-1.24wmf15/index.php(46): MediaWiki->run()
#15 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#16 {main}
Comment 1 Gerrit Notification Bot 2014-07-31 00:03:57 UTC
Change 150739 had a related patch set uploaded by EBernhardson:
Prevent fatal error when formatting old notifications

https://gerrit.wikimedia.org/r/150739
Comment 2 Gerrit Notification Bot 2014-07-31 00:11:13 UTC
Change 150739 merged by jenkins-bot:
Prevent fatal error when formatting old notifications

https://gerrit.wikimedia.org/r/150739
Comment 3 Andre Klapper 2014-09-01 12:44:24 UTC
All patches mentioned in this report were merged or abandoned - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?

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


Navigation
Links