Project

General

Profile

Actions

Bug #92149

closed

CheckIntegrity command failing as task when saved

Added by Philipp Seiler about 4 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2020-09-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
slug,task,command,scheduler,site,finder
Complexity:
Is Regression:
Sprint Focus:

Description

  • Create a scheduler task from the sysext "redirects" for checking redirect integrity. Save the task.
  • Do NOT reopen the task and re-save it.
  • Execute this task. Task executes successfully.
  • Reopen the Task. As this is a SymfonyCommand, and it has input parameters, now the field to run the command on a specific site will be visible. Leave this field empty, but save the task again.
  • Nothing should have changed.
  • However: The site-input-argument is still passed along and saved as an empty string ''.
  • This leads an error, where TYPO3 says it can't find the given site.
  • Problem is, that the method getSites in IntegrityService checks if the passed along input argument is !== null.
  • As it is an empty string, this check of course fails.
  • Probably best to check for emtpy()-ness.
Actions #1

Updated by Markus Klein about 1 year ago

  • Status changed from New to Needs Feedback

I fail to reproduce this on TYPO3 v11

Actions #2

Updated by Georg Ringer 5 months ago

  • Status changed from Needs Feedback to Closed

I can't reproduce it either, closing it for now. If you still got the problem in 11/12, please open a new issue and reference this one.

Actions

Also available in: Atom PDF