Content
View differences
Updated by Klaus Zanders over 1 year ago
### Steps to reproduce
1. Create a time entry
2. Enter more than 255 characters in the comment field
3. Try to save it
### What is the buggy behavior?
* An Internal Server error is returned
### What is the expected behavior?
We do have 2 options how to handle this:
1. The comment field is limited to 255 characters and a validation error is shown when the comment is too long
2. Change the database type to a text field to allow arbitrary lengths
For the bugfix for 15.3.1 we chose to limit the field to 255 characters and add a validation, and [there is a follow up ticket for 15.4](https://community.openproject.org/projects/stream-time-and-costs/work_packages/61607) that will increase the limit to 1000 characters (basically option 2).
### **Logs**
_AppSignal: https://appsignal.com/openproject-gmbh/sites/63237184d2a5e463ef717e6e/exceptions/incidents/1967_
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* all of them
**OpenProject version**
* all of them
**Browser**
* [x] Chrome
* [x] Firefox
* [x] Safari
* [x] Mobile Safari
* [x] Other (please specify)
**Operating System**
* [x] Windows
* [x] Mac OS X
* [x] Mobile iOS
* [x] Mobile Android
* [x] Linux (please specify distro)
* [x] Chrome OS
* [x] Other (please specify)
1. Create a time entry
2. Enter more than 255 characters in the comment field
3. Try to save it
### What is the buggy behavior?
* An Internal Server error is returned
### What is the expected behavior?
We do have 2 options how to handle this:
1. The comment field is limited to 255 characters and a validation error is shown when the comment is too long
2. Change the database type to a text field to allow arbitrary lengths
For the bugfix for 15.3.1 we chose to limit the field to 255 characters and add a validation, and [there is a follow up ticket for 15.4](https://community.openproject.org/projects/stream-time-and-costs/work_packages/61607) that will increase the limit to 1000 characters (basically option 2).
### **Logs**
_AppSignal: https://appsignal.com/openproject-gmbh/sites/63237184d2a5e463ef717e6e/exceptions/incidents/1967_
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* all of them
**OpenProject version**
* all of them
**Browser**
* [x] Chrome
* [x] Firefox
* [x] Safari
* [x] Mobile Safari
* [x] Other (please specify)
**Operating System**
* [x] Windows
* [x] Mac OS X
* [x] Mobile iOS
* [x] Mobile Android
* [x] Linux (please specify distro)
* [x] Chrome OS
* [x] Other (please specify)