Page MenuHomePhabricator

Error when trying to view deleted file: LocalRepo::newFileFromRow: invalid row
Closed, ResolvedPublic

Description

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}


Version: unspecified
Severity: minor
URL: http://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

Details

Reference
bz27523

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:26 PM
bzimport set Reference to bz27523.
bzimport added a subscriber: Unknown Object (MLST).

So the file version is both deleted and hidden at the same time?

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.

By "hiding" I mean "deleting via revisiondelete".

[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.

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:11 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:21 AM