Add validation for task name length

This commit is contained in:
Constantin Graf
2026-09-22 11:41:51 +02:00
parent 556dfd39eb
commit a504bcb878
9 changed files with 42 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ class ClockifyProjectsImporter extends DefaultImporter
if ($tasksKey !== null && $record[$tasksKey] !== '') {
$tasks = explode(', ', $record[$tasksKey]);
foreach ($tasks as $task) {
$this->checkTaskNameLength($task);
$this->taskImportHelper->getKey([
'name' => $task,
'project_id' => $projectId,