Page MenuHomePhabricator

User must be logged in to view notification! from jobs
Closed, InvalidPublic

Description

2013-08-27 20:26:08 mw1012 enwiki: [150dc5c5] [no req] Exception from line 45 of /usr/local/apache/common-local/php-1.22wmf13/extensions/Echo/includes/NotifUser.php: User must be logged in to view notification!
#0 /usr/local/apache/common-local/php-1.22wmf13/extensions/Echo/includes/DbEchoBackend.php(36): MWEchoNotifUser::newFromUser(Object(User))
#1 /usr/local/apache/common-local/php-1.22wmf13/includes/db/Database.php(3113): {closure}()
#2 /usr/local/apache/common-local/php-1.22wmf13/includes/db/Database.php(3075): DatabaseBase->runOnTransactionIdleCallbacks()
#3 /usr/local/apache/common-local/php-1.22wmf13/extensions/Echo/includes/DbEchoBackend.php(38): DatabaseBase->onTransactionIdle(Object(Closure))
#4 /usr/local/apache/common-local/php-1.22wmf13/extensions/Echo/model/Notification.php(106): MWDbEchoBackend->createNotification(Object(User), Array)
#5 /usr/local/apache/common-local/php-1.22wmf13/extensions/Echo/model/Notification.php(65): EchoNotification->insert()
#6 /usr/local/apache/common-local/php-1.22wmf13/extensions/Echo/Notifier.php(22): EchoNotification::create(Array)
#7 [internal function]: EchoNotifier::notifyWithNotification(Object(User), Object(EchoEvent))
#8 /usr/local/apache/common-local/php-1.22wmf13/extensions/Echo/controller/NotificationController.php(272): call_user_func_array(Array, Array)
#9 /usr/local/apache/common-local/php-1.22wmf13/extensions/Echo/controller/NotificationController.php(156): EchoNotificationController::doNotification(Object(EchoEvent), Object(User), 'web')
#10 /usr/local/apache/common-local/php-1.22wmf13/extensions/Echo/jobs/NotificationJob.php(10): EchoNotificationController::notify(Object(EchoEvent), false)
#11 /usr/local/apache/common-local/php-1.22wmf13/maintenance/runJobs.php(101): EchoNotificationJob->run()
#12 /usr/local/apache/common-local/php-1.22wmf13/maintenance/doMaintenance.php(115): RunJobs->execute()
#13 /usr/local/apache/common-local/php-1.22wmf13/maintenance/runJobs.php(181): require_once('/usr/local/apac...')
#14 /usr/local/apache/common-local/multiversion/MWScript.php(97): require_once('/usr/local/apac...')
#15 {main}


Version: master
Severity: normal

Details

Reference
bz53425

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:54 AM
bzimport added a project: Notifications.
bzimport set Reference to bz53425.
bzimport added a subscriber: Unknown Object (MLST).
matthiasmullie claimed this task.

This report is over a year old. I've tried following the backtrace in the current code & it's drastically different now. Also couldn't find this in exception.log.
I'll close this since the report is no longer relevant in the current codebase. Should we still encounter similar issues, please resubmit!