Bug #99501
openAllow more than 1 plugin handling an action
0%
Description
If an extension provides multiple plugins allowing the same action, an exception is thrown
There is more than one plugin that can handle this request (Extension: "News", Controller: "News", action: "list"). Please specify "pluginName" argument
Especially with the drop of switchablecontrolleractions, extensions like news split the features into various plugins. In this usecase there are 2 plugins using the same action list
. To avoid issues with the plugin namespace in the request all plugins share the same namespace using
plugin { tx_news_newsliststicky.view.pluginNamespace = tx_news_pi1 tx_news_newsdetail.view.pluginNamespace = tx_news_pi1 tx_news_newsselectedlist.view.pluginNamespace = tx_news_pi1 tx_news_newsdatemenu.view.pluginNamespace = tx_news_pi1 tx_news_categorylist.view.pluginNamespace = tx_news_pi1 tx_news_newssearchform.view.pluginNamespace = tx_news_pi1 tx_news_newssearchresult.view.pluginNamespace = tx_news_pi1 tx_news_taglist.view.pluginNamespace = tx_news_pi1 }
Having now a datemenu with a template part like
<f:link.action action="list" pageUid="{listPid}" arguments="{overwriteDemand:{year: year, month: month}}"> <f:translate key="month.{month}" /> {year} </f:link.action>
it is up to the editor which plugin will handle the list action.
I propose removing the exception. issues has been derived from https://github.com/georgringer/news/pull/1982
Updated by Gerrit Code Review almost 2 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77294
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77294
Updated by Gerrit Code Review almost 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77294
Updated by Gerrit Code Review almost 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77294
Updated by Gerrit Code Review almost 2 years ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77294
Updated by Gerrit Code Review over 1 year ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77294
Updated by Gerrit Code Review about 1 month ago
Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77294