https://bugzilla.wikimedia.org/show_bug.cgi?id=22227

--- Comment #3 from Chad H. <innocentkil...@gmail.com> 2010-01-22 18:54:33 UTC 
---
(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()

Might be worth making a FakeFile class to return in that scenario.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to