Last modified: 2014-11-18 18:07:34 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 T29523, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27523 - Error when trying to view deleted file: LocalRepo::newFileFromRow: invalid row
Error when trying to view deleted file: LocalRepo::newFileFromRow: invalid row
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://hu.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-18 07:56 UTC by Tisza Gergő
Modified: 2014-11-18 18:07 UTC (History)
4 users (show)

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


Attachments

Description Tisza Gergő 2011-02-18 07:56:22 UTC
This error shows up when I'm trying to look at a deleted local file (Special:Revisiondelete, type=filearchive):

LocalRepo::newFileFromRow: invalid row
Backtrace:
#0 /usr/local/apache/common-local/php-1.17/includes/revisiondelete/RevisionDelete.php(355): LocalRepo->newFileFromRow(Object(stdClass))
#1 /usr/local/apache/common-local/php-1.17/includes/revisiondelete/RevisionDelete.php(529): RevDel_FileItem->__construct(Object(RevDel_ArchivedFileList), Object(stdClass))
#2 /usr/local/apache/common-local/php-1.17/includes/revisiondelete/RevisionDelete.php(520): RevDel_ArchivedFileItem->__construct(Object(RevDel_ArchivedFileList), Object(stdClass))
#3 /usr/local/apache/common-local/php-1.17/includes/revisiondelete/RevisionDeleteAbstracts.php(252): RevDel_ArchivedFileList->newItem(Object(stdClass))
#4 /usr/local/apache/common-local/php-1.17/includes/revisiondelete/RevisionDeleteAbstracts.php(268): RevDel_List->initCurrent()
#5 /usr/local/apache/common-local/php-1.17/includes/specials/SpecialRevisiondelete.php(359): RevDel_List->reset()
#6 /usr/local/apache/common-local/php-1.17/includes/specials/SpecialRevisiondelete.php(202): SpecialRevisionDelete->showForm()
#7 /usr/local/apache/common-local/php-1.17/includes/SpecialPage.php(579): SpecialRevisionDelete->execute(NULL)
#8 /usr/local/apache/common-local/php-1.17/includes/Wiki.php(250): SpecialPage::executePath(Object(Title))
#9 /usr/local/apache/common-local/php-1.17/includes/Wiki.php(63): MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#10 /usr/local/apache/common-local/php-1.17/index.php(114): MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#11 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#12 {main}
Comment 1 Aaron Schulz 2011-02-18 07:58:01 UTC
So the file version is both deleted and hidden at the same time?
Comment 2 Tisza Gergő 2011-02-18 08:01:01 UTC
I deleted the file, then created a redirect in its place (by manually entering #REDIRECT...), then deleted that too since it didn't do anything useful (I was trying to redirect the image to another one with better resolution but gave up). I'm not aware of any hiding involved.
Comment 3 Aaron Schulz 2011-02-18 08:07:09 UTC
By "hiding" I mean "deleting via revisiondelete".
Comment 4 Tisza Gergő 2011-02-18 08:15:16 UTC
Yeah, but I don't think that happened. I deleted it twice normally. The log shows that too: http://hu.wikipedia.org/w/index.php?title=Speci%C3%A1lis:Rendszernapl%C3%B3k&page=F%C3%A1jl:G%C3%B6d%C3%B6ll%C5%91+c%C3%ADmere.png&uselang=en
Comment 5 Bawolff (Brian Wolff) 2014-05-22 19:17:34 UTC
[16:11]	<bawolff>	tgr: If you're not too busy - I'm trying to sort out old bugs, for bug 27523, do you mind seeing if https://hu.wikipedia.org/w/index.php?title=Speci%C3%A1lis:V%C3%A1ltozat_t%C3%B6rl%C3%A9se&type=filearchive&target=F%C3%A1jl:G%C3%B6d%C3%B6ll%C5%91_c%C3%ADmere.png&ids=40776 still fatals for you?
[16:17]	<tgr>	bawolff: no, works fine now

Guess it must of gotten fixed somewhere down the line. Closing bug as FIXED.

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


Navigation
Links