atk4/atk4 — Issue #33: Latest Devel version fails with "add()"
Author: romaninsh
Created: 2011-12-13 12:09:02+00:00
State: open

Related to the namespace patch.

by Jancha:

AbstractObject is trying to get namespace from classname, when new object is added. Problem is that namespace is not always passed, thus:

list($namespace,$file)=explode('\\',$class_name);

makes $namespace to be the $class_name and $file to be nothing

Temporary fix:

if (!$file && $namespace){
$file = $namespace;
}

j.