https://bugzilla.wikimedia.org/show_bug.cgi?id=22227
T. Gries <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|SpecialListfiles.php throws |SpecialListfiles.php throws |a fatal abort when a spooky |a fatal error when a spooky |file File: exists (for one |file File: exists (for one |reason or another) |reason or another) --- Comment #4 from T. Gries <[email protected]> 2010-01-22 19:02:31 UTC --- (In reply to comment #3) > (In reply to comment #1) > > wfLocalFile is supposed to "Return a valid placeholder object if the file > > does > > not exist." :/ > > Something is going wrong inside the LocalRepo. > > Except it lies. If it's not fed a valid title (in this case, an empty string), > it will return null before trying to construct a file object. See > FileRepo::newFile() Okay, and all callers receiving the null "object" shall not throw a fatal error -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
