Skip to content

[TASK] Allow other views than FluidViewAdapter in search controller#4522

Open
eliashaeussler wants to merge 3 commits into
TYPO3-Solr:mainfrom
CPS-IT:task/view
Open

[TASK] Allow other views than FluidViewAdapter in search controller#4522
eliashaeussler wants to merge 3 commits into
TYPO3-Solr:mainfrom
CPS-IT:task/view

Conversation

@eliashaeussler

Copy link
Copy Markdown
Contributor

What this pr does

This PR modifies \ApacheSolrForTypo3\Solr\Controller\SearchController::initializeView to allow other template views than FluidViewAdapter for template rendering. This effectively opens EXT:solr plugin rendering for other templating engines or custom view implementations. Since the provided view initializations are exclusively written for FluidViewAdapter instances, the method returns early if other instances are passed.

How to test

Testing is hard, because it requires a lot of custom components, e.g. a custom ViewFactory and a custom View implementation.

Fixes: #4521

@eliashaeussler eliashaeussler marked this pull request as draft January 27, 2026 09:56
@eliashaeussler eliashaeussler marked this pull request as ready for review March 5, 2026 06:49
@dkd-kaehm

Copy link
Copy Markdown
Collaborator

Please resolve conflicts by rebasing.
Do not use git merge in EXT:solr repostory, EXT:solr requires linear history.

@IngoMueller IngoMueller force-pushed the task/view branch 2 times, most recently from 68c0991 to 141be68 Compare May 11, 2026 08:29
@IngoMueller

Copy link
Copy Markdown

@dkd-kaehm Resolving is done

@dkd-kaehm dkd-kaehm force-pushed the main branch 4 times, most recently from 0c90549 to 365cf5c Compare June 17, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TASK] Allow other views than FluidViewAdapter in search controller

3 participants