Content
View differences
Updated by Oliver Günther about 1 year ago
[https://appsignal.com/openproject-gmbh/sites/63237184d2a5e463ef717e6e/exceptions/incidents/1992](https://appsignal.com/openproject-gmbh/sites/63237184d2a5e463ef717e6e/exceptions/incidents/1992)
**Error message**
```text
Object must be a Date, DateTime or Time object. nil given.
```
**Backtrace**
```ruby
Backtrace: i18n (1.14.7) lib/i18n/backend/base.rb:82:in 'I18n::Backend::Base#localize'
```
Appsignal sample: [https://appsignal.com/openproject-gmbh/sites/63237184d2a5e463ef717e6e/exceptions/incidents/1992/samples/63237184d2a5e463ef717e6e-413522195563472924617412624001](https://appsignal.com/openproject-gmbh/sites/63237184d2a5e463ef717e6e/exceptions/incidents/1992/samples/63237184d2a5e463ef717e6e-413522195563472924617412624001)
**Steps to reproduce**
* Make the date input field empty. In some browsers, you can do that with "delete/backspace".
* In my case I opened the inspector, selected the field and typed `$0.value = ""`
* Submit the form https://appsignal.com/openproject-gmbh/sites/63237184d2a5e463ef717e6e/exceptions/incidents/1992/samples/63237184d2a5e463ef717e6e-413522195563472924617412624001
**Error message**
```text
Object must be a Date, DateTime or Time object. nil given.
```
**Backtrace**
```ruby
Backtrace: i18n (1.14.7) lib/i18n/backend/base.rb:82:in 'I18n::Backend::Base#localize'
```
Appsignal sample: [https://appsignal.com/openproject-gmbh/sites/63237184d2a5e463ef717e6e/exceptions/incidents/1992/samples/63237184d2a5e463ef717e6e-413522195563472924617412624001](https://appsignal.com/openproject-gmbh/sites/63237184d2a5e463ef717e6e/exceptions/incidents/1992/samples/63237184d2a5e463ef717e6e-413522195563472924617412624001)
**Steps to reproduce**
* Make the date input field empty. In some browsers, you can do that with "delete/backspace".
* In my case I opened the inspector, selected the field and typed `$0.value = ""`
* Submit the form