Here is one I just found and reported.
The add_task method in MT::Compat::v3 doesn't handle a MT::Task
subclasses. Line 181 reads like this...
} elsif (ref($task) eq 'MT::Task') {
It should read something like...
} elsif (ref($task) && $task->isa('MT::Task')) {
While debugging this I also noticed that MT::Task breaks encapsulation
in the name method.
$task->{name} || $task->{key};
Calling the key hash directly by-passes an overloaded method like
mine. It's a small thing, but a potential problem under the right
circumstances.
Are there any prizes for finding the most obscure bug? ;)
<tim/>
--
Timothy Appnel
Appnel Solutions
http://appnel.com/
Blogcast / Powerful blogging systems made easy
http://blogcast.net/