Bug #100858
closedScheduler task execute button not working
100%
Description
Hello,
I am facing a strange issue with TYPO3 12.4.1 LTS. I've setup a scheduler task in my custom extension and when I tried to manually execute this, the "Execute" & "Execute on next cron job" buttons are not working. When click on that, nothing happens.
Any patch or solution for this issue?
Thank you.
Files
Updated by Georg Ringer over 1 year ago
- File clipboard-202305111932-wswxf.png clipboard-202305111932-wswxf.png added
- Status changed from New to Needs Feedback
thanks for creating the issue!
there is nothing known yet, therefore asking some additional questions:
- do other commands work?
- the "execute on next cronjob" requires a proper cronjob setup. is that done? you can also check the toolbar, see screenshot
Updated by Spawoz Technologies Pvt Ltd. over 1 year ago
I checked the manual execution with the "Execute" button and any of the commands not working. The main problem is, when button clicks, nothing happens. No error in the console. So looks like the click handler is not available.
I confirmed this issue with the Slack channel and the same issue was reproduced.
Thank you.
Updated by Chris Müller over 1 year ago
Yes, I can confirm. Clicking on one of the buttons: nothing happens. Also no error in the browser console.
Updated by Benni Mack over 1 year ago
Chris Müller wrote in #note-3:
Yes, I can confirm. Clicking on one of the buttons: nothing happens. Also no error in the browser console.
What command are you executing? Just tried this with 12.4.1 and set up a recurring "Optimize MySQL database tables (scheduler)" scheduler task, which I can trigger on next execution or directly, a flash message shows up...
Updated by Spawoz Technologies Pvt Ltd. over 1 year ago
Hi Benni,
Please see the video recording for the same. I tried with both core tasks and custom tasks, nothing works. The click of the button not triggered.
Thank you,
Arun Chandran
Updated by Georg Ringer over 1 year ago
- Status changed from Needs Feedback to Accepted
thanks for the video. it is about the mass editing icons, not the single ones
Updated by Spawoz Technologies Pvt Ltd. over 1 year ago
Yes, it is. Thank you for checking the issue.
Updated by Sybille Peters over 1 year ago
Just to clarify: the problem is not related to a specific scheduler task but happens in general for multi selection mode if one of the tasks are selected and "Execute on next cron job" or "Execute" is executed.
The same problem exists for the task groups.
I could reproduce it in v13, not in v11.
As far as I can tell, one of the problems is that the buttons are not within a form. This used to be the case (in v11). There, the outer Fluid was Index.html which wrapped everything within a form.
In the newer version, the structure is different and the task list is wrapped in a form, the MultiRecordSelectionActions partial is not. If - just to test - this is moved to within the form, at least the Controller is called - but then the tasks get deleted because obviously, this is not yet correct.
Then there is the problem of where the task ids are set. This currently does not happen (see MultiRecordSelectionActions.html).
This is complicated further, because it is also possible to create task groups where the same partial is used and should also work.
Personally, I would rather remove the functionality (for now) of selecting multiple tasks if it does not work and clean up the extension to make it developer friendly and easily maintainable, but of course if this is fixed that would be preferable.
Updated by Benni Mack over 1 year ago
- Target version changed from 12 LTS to Candidate for patchlevel
Updated by Gerrit Code Review about 1 year 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/+/81020
Updated by Gerrit Code Review about 1 year 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/+/81020
Updated by Gerrit Code Review about 1 year 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/+/81020
Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81023
Updated by Benjamin Kott about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset eaa85704b7540966890eba78b1f8ec161057d38b.