Page MenuHomePhabricator

Addexampledata ticket creation failing
Closed, ResolvedPublic

Description

When creating tickets, the following error is raised:

django.db.utils.IntegrityError: NOT NULL constraint failed: tracker_ticket.statutory_declaration

I think this is caused by https://gerrit.wikimedia.org/r/c/wikimedia-cz/tracker/+/479341 , but correct me if I'm wrong.

Commands that produce the error:

python manage.py addexampledata
python manage.py addexampledata --only-generate tickets

Event Timeline

Nevermind, this error was generated only if the new migrations were not run. (And stupid me forgot to run them.)