fix(migration): ignore tasks with empty titles
This commit is contained in:
parent
774859b577
commit
3ff4d81618
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user