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.
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.
Instead of hardcoding and tight coupling of relation resolving, we now
provide a dataprocessor instead.
Therefore you need to configure resolving for each indexed type.
This resolves#149 and #147.
Use own service to handle data processing. Classes like indexer should
not know anything about the structure and how to process the data.
Also rename record to data, as we can process just any data in form of
an array.
Relates: #116
Before data processing was applied for TCA only, through tca table
service.
Now it's applied much later in process and in abstract indexer.
Therefore all indexer will run data processing if configured.