symphonists / uniondatasource

A union datasources allows you to combine multiple datasources to output a single datasource for the primary purpose of a unified pagination.
13 stars 11 forks source link

Editing other DS breaks #11

Closed nilshoerrmann closed 12 years ago

nilshoerrmann commented 12 years ago

When using Union Data Source on 2.3, other Data Sources cannot be edited if this extension is enabled:

Symphony Fatal Error: Could not find Data Source . If it was provided by an Extension, ensure that it is installed, and enabled.

An error occurred in /Users/nilshoerrmann/Sites/Webseiten/durchgedreht24.de/symphony/lib/toolkit/class.datasourcemanager.php around line 181

176         public static function create($handle, array $env = null, $process_params=true){
177             $classname = self::__getClassName($handle);
178             $path = self::__getDriverPath($handle);
179
180             if(!is_file($path)){
181                 throw new Exception(
182                     __('Could not find Data Source %s.', array('<code>' . $handle . '</code>'))
183                     . ' ' . __('If it was provided by an Extension, ensure that it is installed, and enabled.')
184                 );
185             }

Backtrace

[/Users/nilshoerrmann/Sites/Webseiten/durchgedreht24.de/extensions/uniondatasource/data-sources/datasource.union.php:197]
    DatasourceManager::create();
[:0]
    UnionDatasource::buildEditor();
[/Users/nilshoerrmann/Sites/Webseiten/durchgedreht24.de/symphony/content/content.blueprintsdatasources.php:839]
    call_user_func();
[/Users/nilshoerrmann/Sites/Webseiten/durchgedreht24.de/symphony/content/content.blueprintsdatasources.php:31]
    contentBlueprintsDatasources->__form();
[/Users/nilshoerrmann/Sites/Webseiten/durchgedreht24.de/symphony/lib/toolkit/class.administrationpage.php:602]
    contentBlueprintsDatasources->__viewEdit();
[/Users/nilshoerrmann/Sites/Webseiten/durchgedreht24.de/symphony/lib/toolkit/class.administrationpage.php:559]
    AdministrationPage->__switchboard();
[/Users/nilshoerrmann/Sites/Webseiten/durchgedreht24.de/symphony/lib/toolkit/class.administrationpage.php:413]
    AdministrationPage->view();
[/Users/nilshoerrmann/Sites/Webseiten/durchgedreht24.de/symphony/lib/core/class.administration.php:228]
    AdministrationPage->build();
[/Users/nilshoerrmann/Sites/Webseiten/durchgedreht24.de/symphony/lib/core/class.administration.php:381]
    Administration->__buildPage();
[/Users/nilshoerrmann/Sites/Webseiten/durchgedreht24.de/index.php:25]
    Administration->display();