Task #88529

Epic #88528: Remove switchable controller action functionality

Plugin configuration does no longer determine callable actions.

Added by Alexander Schnitzler 4 months ago. Updated 8 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Extbase
Start date:
2019-06-08
Due date:
% Done:

0%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Both \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin and \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule do no longer determine which actions are callable.

This means that all actions of any registered controller are callable.

History

#1 Updated by Gerrit Code Review 4 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60904

#2 Updated by Gerrit Code Review 4 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60904

#3 Updated by Gerrit Code Review 4 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60904

#4 Updated by Christian Hackl 11 days ago

Can someone tell me the current status please, e.g. is the patch beeing introduced into one of the next TYPO3 9 updates?

#5 Updated by Alexander Schnitzler 9 days ago

This is an EPIC which defines a possible change of functionality for TYPO3 10.x, so it will not go into version 9. This topic will be discussed during T3INIT in 2 weeks.

#7 Updated by Alexander Schnitzler 9 days ago

No, it's not a bug in TYPO3 9. This ticket describes (quite poorly I have to admit) an architectural change regarding the configuration of plugins. It's something I didn't find time to work on during summer.

#8 Updated by Christian Hackl 9 days ago

So i mean in TYPO3 9 it does not work like in the current docu (incl. docu for v10) - so the docu is incorrect for version 9 and 10 or it's a bug...
You say that does not work for version 9, so it don't work there like expected?!
Don't get it...

Right now it's a bug for me because it does not work as it says in the documentation.

It took me ages to figure it out because I got an error message "... is not allowed by this plugin, look at configurePlugin ..."
But this error message is therefore not meaningful and wrong, because here the class-> method array has no more impact ... or I overlook something?

#9 Updated by Alexander Schnitzler 8 days ago

You say that does not work for version 9, so it don't work there like expected?!

I never talked about version 9 at all. This ticket is not about what you experience. This is not a Ticket dealing with a bug and it's not targeting version 9 so it's simply the wrong ticket to discuss the issues you are facing.

I'd like you to open a separate ticket, pasting your configuration, explaining your expectation and what you think is wrong with the documentation or the code.
I'm pretty sure that you have switchable controller actions defined in your flexform of your plugin but let's talk about this in a new ticket.

Also available in: Atom PDF