Bug #90815

Can't edit a scheduler task, when extbase command does not exist anymore

Added by B. Kausch 16 days ago. Updated 12 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
Start date:
2020-03-23
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.4
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Needs Decision

Description

It is all in the subject.

Create a scheduler task, select an extbase command controller task. Remove this task (by removing the method, removing the command controller config or deactivating the extension). When you try to edit the task, this task list is loaded again, but the buttons in module doc header are changed like the in any edit form.

For migrating purposes this is bad behavior...

History

#1 Updated by Georg Ringer 15 days ago

  • Status changed from New to Rejected

Thanks for creating this issue!

With #85977 the extbase command controllers have been deprecated in favor of symfony commands. Those are already available in 9 as well, checkout the links and infos at https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-85977-ExtbaseCommandControllersAndCliAnnotation.html

therefore I am closing this issue.

#2 Updated by B. Kausch 15 days ago

Your reasoning is wrong. This is clearly a bug.

I know the new Symfony commands. And I did migrate my commands. Then I wanted to edit the scheduler tasks to change them to the new commands. Guess what? I can't do that... People just want to keep complex timing functions for example. I don't want to create new scheduler tasks.

#3 Updated by Georg Ringer 15 days ago

  • Status changed from Rejected to New
  • Sprint Focus set to PRC

#4 Updated by Benni Mack 14 days ago

  • Sprint Focus changed from PRC to Needs Decision

#5 Updated by Georg Ringer 12 days ago

unless it is already a symfony command, you can't change the type anymore and you need to recreate those commands anyway.

#6 Updated by B. Kausch 12 days ago

Georg Ringer wrote:

unless it is already a symfony command, you can't change the type anymore and you need to recreate those commands anyway.

Let me clarify why I think this needs fixing:

- first of all: yeah, extbase commands are deprecated. But they are still working in v9.
- but even so: When people must migrate their command to symfony, thzan they want to change the according scheduler task and select the new command. Clearly that should be possible.
- at least: show some kind of error. Because the current v9 backend will break when trying to edit a extbase command which does not exist anymore.

Also available in: Atom PDF