1
0

fix(migration): ignore tasks with empty titles

This commit is contained in:
kolaente
2024-01-19 23:04:24 +01:00
parent 774859b577
commit 3ff4d81618

View File

@ -205,6 +205,11 @@ func createProjectWithEverything(s *xorm.Session, project *models.ProjectWithTas
oldid := t.ID
t.ProjectID = project.ID
err = t.Create(s, user)
if err != nil && models.IsErrTaskCannotBeEmpty(err) {
continue
}
if err != nil {
return
}