[BUGFIX] Restore backend module rerouting functionality
Due to the changes in #99620, it is now possible
for a second level module to not define any route.
Such module then automatically uses the routes
from the first available sub module (third-level).
However, this now led to the fact that it was no
longer possible for the BackendModuleValidator
to restore the actually last used third-level module
of such sub modules, because the module object
in the Route object got replaced by the fallback.
This use case is now also properly handled by
checking whether the resolved module is the
request modules' fallback.
Resolves: #99684
Related: #99620
Releases: main
Change-Id: I8cd19417fa66593dd4c612a07723dcbcf5162f5f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77539
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Stefan Bürk <stefan@buerk.tech>
[BUGFIX] Restore backend module rerouting functionality · TYPO3/typo3@9092b23
Due to the changes in #99620, it is now possible for a second level module to not define any route. Such module then automatically uses the routes from the first available sub module (third-level)....GitHub
[BUGFIX] Avoid usage of dummy controller for web_ts module
The TypoScript module (web_ts) is not directly
accessible and always redirects to the first
available third level module. This patch resolves
the necessity to define a default route for the
module, which previously referenced a dummy
controller.
Resolves: #99620
Releases: main
Change-Id: I6912ce65cec26f36745aa1aa9355db78e655b013
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77482
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Oliver Bartsch <bo@cedev.de>
[BUGFIX] Avoid usage of dummy controller for web_ts module · TYPO3/typo3@d01a588
The TypoScript module (web_ts) is not directly accessible and always redirects to the first available third level module. This patch resolves the necessity to define a default route for the module,...GitHub