Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #172 from Codappix/release/0.0.8
Browse files Browse the repository at this point in the history
Release/0.0.8
  • Loading branch information
Justus Moroni authored Nov 7, 2018
2 parents 1832555 + e20ddcb commit 58055f6
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Classes/Configuration/ConfigurationContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ public function injectConfigurationManager(ConfigurationManagerInterface $config
{
$this->settings = $configurationManager->getConfiguration(
ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS,
'SearchCore',
'search'
'SearchCore'
);
if ($this->settings === null) {
throw new NoConfigurationException('Could not fetch configuration.', 1484226842);
Expand Down
1 change: 1 addition & 0 deletions Documentation/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Changelog
changelog/20180308-introduce-php70-type-hints
changelog/20180306-120-facet-configuration
changelog/20180926-163-allow-zero-as-typoscript-filter-value
changelog/20181106-170-do-not-specify-the-pluginname-in-configurationcontainer
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Feature 170 "Do not specify the pluginName in ConfigurationContainer"
===============================================================================

Prior to the change it was not possible to create a second plugin in a
separate extension. The pluginName for the configuration was set to `search`.
The problem was that the plugin specific settings could not be fetched.

The configuration in `plugin.tx_exampleextension_pluginkey.settings {..}` and
from flexform were not fetched.

Now the pluginName is not set and the ConfigurationManager checks which plugin
is used in the current context.

It is now possible to create a second plugin. For example if you want to cache
the output of your query or the filters you specified.

See :issue:`170`.
4 changes: 2 additions & 2 deletions Documentation/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
# built documents.
#
# The short X.Y version.
version = u'0.0.7'
version = u'0.0.8'
# The full version, including alpha/beta/rc tags.
release = u'0.0.7'
release = u'0.0.8'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
Expand Down
2 changes: 1 addition & 1 deletion Documentation/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Composer

The extension can be installed through composer::

composer require "codappix/search_core" "~0.0.7"
composer require "codappix/search_core" "~0.0.8"

Note that you have to allow unstable packages:

Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
],
'state' => 'beta',
'version' => '0.0.7',
'version' => '0.0.8',
'author' => 'Daniel Siepmann',
'author_email' => '[email protected]',
];

0 comments on commit 58055f6

Please sign in to comment.