cakephp / datasources

CakePHP Datasources
http://cakephp.org
237 stars 114 forks source link

ArraySource requires DATABASE_CONFIG value $test #72

Closed ghost closed 10 years ago

ghost commented 11 years ago

Created by euromark, 9th Aug 2011. (originally Lighthouse ticket #27):


Seems like ArraySource needs the following in the datasbase.php: var $test = array( 'datasource' => 'Datasources.XmlrpcSource', );

Although the docs state that this is not necessary: "Datasource plugin datasources can be used either through App::import of by defining them in your database configuration"

Using App::import only results in: "Fatal Error (256): ConnectionManager::getDataSource - Non-existent data source test"

cakephp1.3.10 head

I think the additional configuration is overhead if app::imported() and the usage should not result in this fatal error.

AD7six commented 10 years ago

This looks to be taken care of in master