joomla/joomla-cms — pull request #924 by Paladin (2013-03-30 15:42:43+00:00)
Title: JTable::getInstance quits too easily

JTable::getInstance quit when the requested file was not found in the first file name matched, even though there may be more file names that match and which might contain the right class. This change keeps it going until it's checked *every* matching file

This one we may want to talk about..there may be a better place and a better way to fix it. What happens is if you have two files that fit the name, but the first one doesn't have the right class, JTable quits without ever seeing the second one. I can see a discussion, though, about whether we want to enforce good naming conventions. It's an ideal vs real discussion.