Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
django.db.utils.DataError: value too long for type character varying(200) #655
A talk cannot be accepted. My guess is that some field is too long (perhaps the title?).
Talks can be accepted.
Steps to Reproduce
Not all talks can be accepted.
I found the problem (thanks to the traceback). The problem is that the subject in the email model is maximum 200 characters long:
But the submission title can also have 200 characters: https://github.com/pretalx/pretalx/blob/master/src/pretalx/submission/models/submission.py#L99
This means that if you have a prefix in your subject of the acceptance mail (e.g. "Your submission:") and your submission title is 200 characters long, you will go beyond those 200 characters for the email subject.
One possible solution would be that the submission title is truncated so that the total length is always < 200 characters.