Extend description to 5000 chars, closes #914

This commit is contained in:
Alexander Groß
2025-10-16 21:53:52 +02:00
committed by Gregor Vostrak
parent 1e985b71ec
commit 9a1dd4861c
8 changed files with 37 additions and 7 deletions

View File

@@ -112,7 +112,7 @@ class ClockifyTimeEntriesImporter extends DefaultImporter
$timeEntry->project_id = $projectId;
$timeEntry->client_id = $clientId;
$timeEntry->organization_id = $this->organization->id;
if (strlen($record['Description']) > 500) {
if (strlen($record['Description']) > 5000) {
throw new ImportException('Time entry description is too long');
}
$timeEntry->description = $record['Description'];