ZF-6646: CLONE -Using Loader_Autoloader is not working on application with modules with similar names ( in action of a controller, please do not try in a simple test case)
I'm not sure if the problem is with Zend_Loader or Zend_Application (maybe other compoment), the problem is:
I use a modular application layout like this:
application/ config/ data/ ../ modules/ admin/ controllers/ models/ views/ ../ adminservices/ controllers/ models/ views/ ../ admintest/ adminxxx/ somename/ somenameetc/ module1/ module2/ module3/
As you can see I use modules with similar names, all modules use their Bootstrap so autoload works fine.. I can use models from any module BUT if found a problem for example:
If I try to load a model of module named "admin" from module "module1" or any other module it work OK. if I try to load a model of module named "adminservices" from any module it do not works, autoloader it not loading the class so I get a:
Fatal error: Class 'Adminservices_Model_XXXX' not found
I try with other modules and I can see that any modules that start with similar names autoloader only register the first one, so I can only call clases from admin, somename, etc, any other clases that start with this name it not working with autoloader..
Anyone can confirm this??? or I'm doing something wrong??