Last modified: 2014-01-03 01:18:03 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 T61195, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59195 - Call to protected method Flow\Model\AbstractRevision::isAllowed() from context 'Flow\NotificationController'
Call to protected method Flow\Model\AbstractRevision::isAllowed() from contex...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Unprioritized critical (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.beta.wmflabs.org/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-01 23:31 UTC by spage
Modified: 2014-01-03 01:18 UTC (History)
5 users (show)

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


Attachments

Description spage 2014-01-01 23:31:22 UTC
If I create a new post or reply to my existing post on beta labs, Preview works fine, but [Reply]/[Submit changes] fails with a pink "An error occurred while contacting the server."

The API response is the HTML of a beta labs error

        PHP fatal error in /data/project/apache/common-local/php-master/extensions/Flow/includes/Notifications/Controller.php line 411: <br/> 
        Call to protected method Flow\Model\AbstractRevision::isAllowed() from context 'Flow\NotificationController'

[01-Jan-2014 23:19:36] Fatal error: Call to protected method Flow\Model\AbstractRevision::isAllowed() from context 'Flow\NotificationController' at /data/project/apache/common-local/php-master/extensions/Flow/includes/Notifications/Controller.php on line 411
Server: i-0000031a
Method: POST
URL: http://en.wikipedia.beta.wmflabs.org/w/api.php
Cookie: vector-nav-p-tb=true; centralnotice_bucket=1-4.2; centralauth_User=Spage+beta; centralauth_Token=3916d0cc134e3e4e611b7a9103d8622e; enwikiUserID=1057; enwikiUserName=Spage+beta; uls-previous-languages=%5B%22en%22%5D; mediaWiki.user.sessionId=krJ3YUsHG70Q7RSo0HZXrqmZ7Iat1Fvp; enwikiSession=d67a5ba1f2b6c6713f3e6128f839ff8a
Backtrace:
#0 /data/project/apache/common-local/php-master/extensions/Flow/includes/Notifications/Controller.php(411): Flow\NotificationController->getCreatorsFromPostIDs()
#1 /data/project/apache/common-local/php-master/extensions/Flow/includes/Notifications/Controller.php(379): Flow\NotificationController::getCreatorsFromPostIDs(Array)
#2 [internal function]: Flow\NotificationController::getDefaultNotifiedUsers(Object(EchoEvent), Array)
#3 /data/project/apache/common-local/php-master/includes/Hooks.php(199): call_user_func_array('Flow\Notificati...', Array)
#4 /data/project/apache/common-local/php-master/includes/GlobalFunctions.php(4032): Hooks::run('EchoGetDefaultN...', Array)
#5 /data/project/apache/common-local/php-master/extensions/Echo/controller/NotificationController.php(300): wfRunHooks('EchoGetDefaultN...', Array)
#6 /data/project/apache/common-local/php-master/extensions/Echo/controller/NotificationController.php(183): EchoNotificationController::getUsersToNotifyForEvent(Object(EchoEvent))
#7 /data/project/apache/common-local/php-master/extensions/Echo/model/Event.php(141): EchoNotificationController::notify(Object(EchoEvent), false)
#8 /data/project/apache/common-local/php-master/extensions/Flow/includes/Notifications/Controller.php(106): EchoEvent::create(Array)
#9 /data/project/apache/common-local/php-master/extensions/Flow/includes/Block/Topic.php(344): Flow\NotificationController->notifyPostChange('flow-post-edite...', Array)
#10 /data/project/apache/common-local/php-master/extensions/Flow/includes/WorkflowLoader.php(204): Flow\Block\TopicBlock->commit()
#11 /data/project/apache/common-local/php-master/extensions/Flow/includes/api/ApiFlow.php(59): Flow\WorkflowLoader->commit(Object(Flow\Model\Workflow), Array)
#12 /data/project/apache/common-local/php-master/includes/api/ApiMain.php(862): ApiFlow->execute()
#13 /data/project/apache/common-local/php-master/includes/api/ApiMain.php(387): ApiMain->executeAction()
#14 /data/project/apache/common-local/php-master/includes/api/ApiMain.php(358): ApiMain->executeActionWithErrorHandling()
#15 /data/project/apache/common-local/php-master/api.php(76): ApiMain->execute()
#16 /data/project/apache/common-local/w/api.php(3): require('/data/project/a...')
#17 {main}
Comment 1 Bingle 2014-01-01 23:36:24 UTC
The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/668, but people from the community are welcome to contribute here and in Gerrit.
Comment 2 Andrew Garrett 2014-01-02 00:43:57 UTC
This issue is caused by change 102154
Comment 3 Gerrit Notification Bot 2014-01-02 00:53:32 UTC
Change 104909 had a related patch set uploaded by Werdna:
Fix issue with change 102154, one call to isAllowed was left.

https://gerrit.wikimedia.org/r/104909
Comment 4 Gerrit Notification Bot 2014-01-02 02:23:50 UTC
Change 104909 merged by jenkins-bot:
Fix issue with change 102154, one call to isAllowed was left.

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

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


Navigation
Links