codappix / search_core

TYPO3 CMS 8.x Extension with basic Integration of Elasticsearch
https://search-core.readthedocs.io/en/latest/
12 stars 9 forks source link

[CHANGE] Do not specify the pluginName in ConfigurationContainer #170

Closed justusmoroni closed 5 years ago

justusmoroni commented 5 years ago

Currently the SearchService always gets the configuration the following way:

 $this->settings = $configurationManager->getConfiguration(
    ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS,
    'SearchCore',
    'search'
);

The set pluginName prevents the additional creation of plugins with flexform.

We need to delete the pluginName in the getConfiguration() call so the method automatically checks which plugin is used and gets the correct configuration.

Otherwise flexform or other settings which ware specifically for one plugin are not available in the SearchService.