fix(oo): assign owner and deadline on task create (#9)

* fix(oo): assign owner and deadline on task create

CRM and project task create omitted responsibleId/responsibles, so the
portal attached a removed stub profile and CRM create without a deadline
failed or looked empty in the UI. Default both to the authenticated user
and now+14d; add crm-tasks reassign-self for backfill.

* fix(oo): collect all bad CRM tasks before reassign-self apply

Offset-0 apply stopped early when the first page was already fixed.
This commit is contained in:
2026-07-23 15:01:23 +01:00
committed by GitHub
co-authored by GitHub
parent e3c706aefe
commit b9cea62d46
6 changed files with 164 additions and 9 deletions
+3
View File
@@ -169,6 +169,9 @@ func personName(v any) string {
return ""
}
if name := strRaw(m, "displayName"); name != "" {
if strings.EqualFold(name, "Profile has been removed") {
return ""
}
return name
}
first := strRaw(m, "firstName")