Fix: limit document title length in workflows (#9085)

This commit is contained in:
shamoon authored and GitHub committed 2025-02-12 05:14:55 +00:00
1 parent bbad36717f
commit feb30f36df
1 file changed
+2
+2
View File
@@ -1178,6 +1178,8 @@ def run_workflows(
webhook_action()
if not use_overrides:
# limit title to 128 characters
document.title = document.title[:128]
# save first before setting tags
document.save()
document.tags.set(doc_tag_ids)