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

Conversation

@danielmaier42
Copy link

By accepting this pull request search_core will be compatible with both TYPO3 version 8 and the new 9 LTS.

The Compatibility to version 7.6 was dropped!

@DanielSiepmann DanielSiepmann self-requested a review February 1, 2019 08:46
@DanielSiepmann DanielSiepmann self-assigned this Feb 1, 2019
Do not introduce unnecessary changes into pull request for TYPO3 CMS 9
update.

* Trim trailing whitespace.
* Do not introduce blank line before namespace definition with this pull
  request.
* Add posix new line at end of file.
Keep old code and behaviour. Adjust only a single place to keep old
expected behaviour.

If TYPO3 throws an exception, catch this, and replace it by old
behaviour which is already handled throughout the code.
Instead return expected object type.
Main goal is to allow Travis to run builds again.
Beside that, we do no longer support TYPO3 CMS 7, but 8.7 and 9.5.
@DanielSiepmann DanielSiepmann changed the base branch from master to develop May 17, 2019 13:56
* Add some more checks to remove PHP warnings / notices.
* Adjust code to match CMS 9 API / interfaces.
* Do no longer use "query" but only searchTerm, as query is internal
  API.
This was done by TYPO3 itself before Version 9. Since version 9, we have
to take care ourselves.
@DanielSiepmann DanielSiepmann added this to the v1.0.0 milestone May 17, 2019
* Remove no longer necessary code.
* Improve changelog for cms 9.
{
$filter = \TYPO3\CMS\Core\Utility\ArrayUtility::removeArrayEntryByValue($filter, '');
$this->filter = \TYPO3\CMS\Extbase\Utility\ArrayUtility::removeEmptyElementsRecursively($filter);
$this->filter = \TYPO3\CMS\Core\Utility\ArrayUtility::filterRecursive($filter, function ($value) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use use statements here. Check everywhere?

Therefore also PHP class ``\Codappix\SearchCore\Domain\Model\SearchRequest`` has
been adjusted.

* Recycler are respected. Pages from type recycler are ignored during indexing.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change Recycler are respected to Recycler is respected?

{
$filter = \TYPO3\CMS\Core\Utility\ArrayUtility::removeArrayEntryByValue($filter, '');
$this->filter = \TYPO3\CMS\Extbase\Utility\ArrayUtility::removeEmptyElementsRecursively($filter);
$this->filter = \TYPO3\CMS\Core\Utility\ArrayUtility::filterRecursive($filter, function ($value) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use use statements here. Check everywhere where necessary?

],
'field2' => [
'config' => '{request.query}',
'config' => '{request.searchTerm}',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change still valid? Check if you want to use {request.query} or {request.searchTerm}.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants