Last modified: 2014-05-27 15:23:19 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 T67733, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65733 - Fatal when revdeleting old version of image
Fatal when revdeleting old version of image
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Revision deletion (Other open bugs)
1.24rc
All All
: High major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-25 01:30 UTC by TLSuda
Modified: 2014-05-27 15:23 UTC (History)
7 users (show)

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


Attachments

Description TLSuda 2014-05-25 01:30:59 UTC
Whenever I attempt to delete a revision of an image (as I successfully have in the past) the error message comes up. I noticed this beginning on 22 May 2014. The error message that is included reads:

PHP fatal error in /usr/local/apache/common-local/php-1.24wmf5/includes/revisiondelete/RevisionDelete.php line 642:
Cannot access protected property RevDelFileList::$deleteBatch
Comment 1 Gerrit Notification Bot 2014-05-25 01:38:43 UTC
Change 135286 had a related patch set uploaded by Brian Wolff:
Revert "Pass phpcs-strict on includes/revisiondelete/"

https://gerrit.wikimedia.org/r/135286
Comment 2 Bawolff (Brian Wolff) 2014-05-25 01:44:17 UTC
I just proposed a revert for the offending revision. I suppose if I was better I would try to find out all the offending line and propose a fix for just that, but I'm lazy right now and the original patch was not a functional change so its not like its an urgent fix its reverting.
Comment 3 TLSuda 2014-05-25 02:52:15 UTC
I should've checked this before, but you cannot RevDel to delete old revisions of an image, but you can RevDel the summary and the editor's username/ip address. (Also thanks Brian for categorizing this correctly for me)
Comment 4 Gerrit Notification Bot 2014-05-25 23:36:34 UTC
Change 135286 merged by jenkins-bot:
Revert "Pass phpcs-strict on includes/revisiondelete/"

https://gerrit.wikimedia.org/r/135286
Comment 5 TLSuda 2014-05-26 02:22:50 UTC
Issue still persists.

PHP fatal error in /usr/local/apache/common-local/php-1.24wmf5/includes/revisiondelete/RevisionDelete.php line 642:
Cannot access protected property RevDelFileList::$deleteBatch
Comment 6 Marius Hoch 2014-05-26 02:31:09 UTC
(In reply to TLSuda from comment #5)
> Issue still persists.
> 
> PHP fatal error in
> /usr/local/apache/common-local/php-1.24wmf5/includes/revisiondelete/
> RevisionDelete.php line 642:
> Cannot access protected property RevDelFileList::$deleteBatch

That's because the changed hasn't yet been deployed, but the bug still is fixed on master.
Comment 7 Gerrit Notification Bot 2014-05-26 03:39:29 UTC
Change 135388 had a related patch set uploaded by Legoktm:
Revert "Pass phpcs-strict on includes/revisiondelete/"

https://gerrit.wikimedia.org/r/135388
Comment 8 Gerrit Notification Bot 2014-05-26 03:40:06 UTC
Change 135389 had a related patch set uploaded by Legoktm:
Revert "Pass phpcs-strict on includes/revisiondelete/"

https://gerrit.wikimedia.org/r/135389
Comment 9 Kunal Mehta (Legoktm) 2014-05-26 03:45:07 UTC
I've submitted backports for this and added it to the SWAT schedule for Tuesday (Monday is a holiday so no deploys) https://wikitech.wikimedia.org/w/index.php?title=Deployments&diff=114318&oldid=114279
Comment 10 Gerrit Notification Bot 2014-05-27 15:12:22 UTC
Change 135388 merged by jenkins-bot:
Revert "Pass phpcs-strict on includes/revisiondelete/"

https://gerrit.wikimedia.org/r/135388
Comment 11 Gerrit Notification Bot 2014-05-27 15:13:32 UTC
Change 135389 merged by jenkins-bot:
Revert "Pass phpcs-strict on includes/revisiondelete/"

https://gerrit.wikimedia.org/r/135389
Comment 12 Kunal Mehta (Legoktm) 2014-05-27 15:21:42 UTC
Deployed by Anomie, and I've verified it's working on wmf5 and wmf6 wikis. 

Apparently I don't have the ability to toggle the backport_wmf flag to +, so someone else will have to do that.

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


Navigation
Links