Last modified: 2013-09-18 15:39:49 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 T51338, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49338 - Cannot use object of type Message as array at RollbackAction
Cannot use object of type Message as array at RollbackAction
Status: VERIFIED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.22.0
All All
: High critical with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 52375 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-08 16:07 UTC by Sam Reed (reedy)
Modified: 2013-09-18 15:39 UTC (History)
6 users (show)

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


Attachments

Description Sam Reed (reedy) 2013-06-08 16:07:00 UTC
[08-Jun-2013 15:37:45] Fatal error: Cannot use object of type Message as array at /usr/local/apache/common-local/php-1.22wmf5/includes/actions/RollbackAction.php on line 56
Server: mw1063
Method: GET
URL: http://www.wikidata.org/w/index.php?title=Q9225819&action=rollback&from=Cardabela48&token=6014061a15609049dc0fc30b824d7600%2B%5C
Backtrace:
#0 /usr/local/apache/common-local/php-1.22wmf5/includes/actions/RollbackAction.php(56): RollbackAction::onView()
#1 /usr/local/apache/common-local/php-1.22wmf5/includes/Action.php(547): RollbackAction->onView()
#2 /usr/local/apache/common-local/php-1.22wmf5/includes/Wiki.php(439): FormlessAction->show()
#3 /usr/local/apache/common-local/php-1.22wmf5/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#4 /usr/local/apache/common-local/php-1.22wmf5/includes/Wiki.php(565): MediaWiki->performRequest()
#5 /usr/local/apache/common-local/php-1.22wmf5/includes/Wiki.php(458): MediaWiki->main()
#6 /usr/local/apache/common-local/php-1.22wmf5/index.php(55): MediaWiki->run()
#7 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#8 {main}



Might be wikidata specific, so CC'ing them for the moment. Bug can be moved later if necessary
Comment 1 Sam Reed (reedy) 2013-06-20 18:33:17 UTC
[20-Jun-2013 18:30:02] Fatal error: Cannot use object of type Message as array at /usr/local/apache/common-local/php-1.22wmf7/includes/actions/RollbackAction.php on line 56
Server: mw1063
Method: GET
URL: http://www.wikidata.org/w/index.php?title=Q9137223&action=rollback&from=Melody+Lavender&token=a6b8ba91393e79797349db704bfa4fe5%2B%5C
Backtrace:
#0 /usr/local/apache/common-local/php-1.22wmf7/includes/actions/RollbackAction.php(56): RollbackAction::onView()
#1 /usr/local/apache/common-local/php-1.22wmf7/includes/Action.php(547): RollbackAction->onView()
#2 /usr/local/apache/common-local/php-1.22wmf7/includes/Wiki.php(439): FormlessAction->show()
#3 /usr/local/apache/common-local/php-1.22wmf7/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#4 /usr/local/apache/common-local/php-1.22wmf7/includes/Wiki.php(565): MediaWiki->performRequest()
#5 /usr/local/apache/common-local/php-1.22wmf7/includes/Wiki.php(458): MediaWiki->main()
#6 /usr/local/apache/common-local/php-1.22wmf7/index.php(55): MediaWiki->run()
#7 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#8 {main}
Comment 2 [no longer active user] 2013-07-14 21:59:49 UTC
It can gain a bit priority IMO because it is causing crash on Wikidata. I didn't faced with such reproduce-able crashes like this on Wikidata so this one is a bit important to fix!
Comment 3 Gerrit Notification Bot 2013-07-17 17:16:08 UTC
Change 74176 had a related patch set uploaded by Daniel Kinzler:
(bug 49338) Fix error handling in RollbackAction.

https://gerrit.wikimedia.org/r/74176
Comment 4 Gerrit Notification Bot 2013-07-17 17:38:47 UTC
Change 74176 had a related patch set uploaded by Krinkle:
Return messages in a consistent form from Status objects.

https://gerrit.wikimedia.org/r/74176
Comment 5 Gerrit Notification Bot 2013-07-30 02:16:06 UTC
Change 74176 merged by jenkins-bot:
Return messages in a consistent form from Status objects

https://gerrit.wikimedia.org/r/74176
Comment 6 Sam Reed (reedy) 2013-08-01 11:44:31 UTC
*** Bug 52375 has been marked as a duplicate of this bug. ***

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


Navigation
Links