Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling long course name #46

Closed
xcompass opened this issue Dec 12, 2013 · 1 comment
Closed

Handling long course name #46

xcompass opened this issue Dec 12, 2013 · 1 comment
Labels

Comments

@xcompass
Copy link
Member

Right now, if the course name is very long, the server will return 500/502 with an exception.

sqlalchemy.exc.IntegrityError: (IntegrityError) (1062, "Duplicate entry 'This is a super long name course title I wonder how this is disp' for key 'name'") 'INSERT INTO `Course` (name) VALUES (%s)' ('This is a super long name course title I wonder how this is displayed This is a super long name course title I wonder how this is displayed1',)

System should handle long course name. If there is a limitation, the limitation should be posted on the course creating page and the limitation shouldn't be too small.

@kschwenghagen
Copy link
Contributor

fixed in 831bd7f

The input field is now limited to 80 characters, the same limit was already on the database column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants