Issue Bug Closed

#107463Redirect loop causes extbase plugin to not find default values for rendering

Soren Malling 09/16/25, 09:13 updated 11/09/26, 18:13

Description

On a page containing a EXT:powermail form we experienced that the EXTBASEPLUGIN could not be rendered.
The outer wrapping was there, but the plugin threw the exception

Exception: The default controller for extension "Powermail" and plugin "Pi1" can not be determined. Please check for TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin() in your ext_localconf.php.

We found the conclusion being a “redirect loop”:
We are on the page /instructions/forms
We had a redirect (auto-created) that pointed from /instructions/forms to www.domain.tld/instructions/forms (the same domain)
With the redirect active, we got the message in the log about a redirect to same url
The powermail forms (not tested with other EXTBASEPLUGIN) threw exception
Removing the redirect loop, the powermail forms was rendered as expected.

The exception is thrown from RequestBuilderDefaultValues::fromConfiguration so the configuration passed to that, is somehow incomplete.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 3

  1. Stefan Bürk commented <span data-processor="relativetime" data-value="2025-10-01T16:05:31+00:00" > 10/01/25, 16:05 </span>

    @sorenmalling Sorry, could not reproduce this in v12, v13 or main (v14):

    created a simple extbase extension with a one controller and action, simple static text
    created a redirect from */some-path to the page (selected with t3 protocol) to the same page (and thus with the domain)

    Debugging the EXT:redirects RedirectHandler the redirect is matched and detected as redirecting to itselv and skipped, executing the rest of the middleware stack as usual rendering the page with the plugin without any issue.

    If it is really not another middleware using some extbase stuff before (repository as DI or similar),
    which is known to break it, it may be that some PSR-14 event listener for the redirect stuff or events
    later before the TSFE and config and normal configuration manager has been initialized at the place it
    should be could have the same effect.

    I had the “error” first, but that was due to having no controller / action configured (empty array) in
    ext_localconf.php for the EM::configurePlugin() call … so maybe it has the old not namespaced
    version due to outdated powermail ?

    Can you give more information like the used powermail version etc and how you added/implemented it ?

  2. Stefan Bürk changed status New Needs Feedback assigned to Stefan Bürk <span data-processor="relativetime" data-value="2025-10-01T16:05:50+00:00" > 10/01/25, 16:05 </span>

  3. Benni Mack commented and changed status Needs Feedback Closed <span data-processor="relativetime" data-value="2026-11-09T18:13:45+00:00" > 11/09/26, 18:13 </span>

    Closing this issue due to lack of feedback. If you provide more info – let me know and I will re-open the issue.