Last modified: 2006-09-09 09:35:17 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 T8887, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6887 - PHP error for call to getId() on bad input to Special:Revisiondelete
PHP error for call to getId() on bad input to Special:Revisiondelete
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.8.x
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-01 06:50 UTC by Nick Jenkins
Modified: 2006-09-09 09:35 UTC (History)
0 users

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


Attachments
Patch to fix null object bug (439 bytes, patch)
2006-09-08 22:24 UTC, wclark
Details

Description Nick Jenkins 2006-08-01 06:50:24 UTC
CURL example command:
===================================
curl --silent --include  -F 'target'='Main Page' -F 'oldid'='x'
'192.168.0.64/wiki/index.php?title=Special:Revisiondelete'
===================================

HTML output (with E_ALL errors) includes:
===================================
<br />
<b>Fatal error</b>:  Call to a member function getId() on a non-object in
<b>/var/www/hosts/mediawiki/phase3/includes/SpecialRevisiondelete.php</b> on
line <b>213</b><br />
===================================
Comment 1 wclark 2006-09-08 22:24:07 UTC
Created attachment 2330 [details]
Patch to fix null object bug
Comment 2 Rotem Liss 2006-09-09 09:35:17 UTC
Fixed in r16454.

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


Navigation
Links