Content
View differences
Updated by Henriette Darge almost 4 years ago
### Steps to reproduce
1. Install curerent Openproject 12.2 on Ubuntu 22.04 via PPA
2. Go to any project
3. Click module "Activity!
### What is the buggy behavior?
An error 500 message is shown
In The syslog the error message is:
``undefined method `getutc' for Tue, 19 Jul 2022:Date``
### What is the expected behavior?
Show the activity
### **Logs**
```syslog
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.644270 #725955] INFO -- : Started GET "/projects/levelup/activity" for 172.29.48.31 at 2022-08-17 21:50:55 +0200
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.645851 #725955] INFO -- : Processing by ActivitiesController#index as HTML
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.645984 #725955] INFO -- : Parameters: {"project_id"=>"levelup"}
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.652182 #725955] INFO -- : OpenProject User: Martin (mdittmar ID: 3 <martin.dittmar@charite.de>)
Aug 17 21:50:55 llp openproject-web-1.service[725955]: E, [2022-08-17T21:50:55.676393 #725955] ERROR -- : user=3 undefined method `getutc' for Tue, 19 Jul 2022:Date
Aug 17 21:50:55 llp openproject-web-1.service[725955]: time.getutc
Aug 17 21:50:55 llp openproject-web-1.service[725955]: ^^^^^^^: undefined method `getutc' for Tue, 19 Jul 2022:Date
Aug 17 21:50:55 llp openproject-web-1.service[725955]: time.getutc
Aug 17 21:50:55 llp openproject-web-1.service[725955]: ^^^^^^^
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.677296 #725955] INFO -- : Rendered common/error.html.erb within layouts/no_menu (Duration: 0.3ms | Allocations: 96)
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.716420 #725955] INFO -- : Rendered layouts/base.html.erb (Duration: 39.0ms | Allocations: 25293)
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.716507 #725955] INFO -- : Rendered layout layouts/no_menu.html.erb (Duration: 39.5ms | Allocations: 25472)
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.716696 #725955] INFO -- : Completed 500 Internal Server Error in 71ms (Views: 29.9ms | ActiveRecord: 20.0ms | Allocations: 41847)
```
### Screenshots and other files
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/37410/content"></div></figure>
### 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**
* [ ] Hosted cloud edition
* [x] Packaged installation
* Ubuntu 22.04, Newestt PPA version
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
12.2 _14.5_
**Browser**
* [x] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
German
1. Install curerent Openproject 12.2 on Ubuntu 22.04 via PPA
2. Go to any project
3. Click module "Activity!
### What is the buggy behavior?
An error 500 message is shown
In The syslog the error message is:
``undefined method `getutc' for Tue, 19 Jul 2022:Date``
### What is the expected behavior?
Show the activity
### **Logs**
```syslog
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.644270 #725955] INFO -- : Started GET "/projects/levelup/activity" for 172.29.48.31 at 2022-08-17 21:50:55 +0200
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.645851 #725955] INFO -- : Processing by ActivitiesController#index as HTML
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.645984 #725955] INFO -- : Parameters: {"project_id"=>"levelup"}
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.652182 #725955] INFO -- : OpenProject User: Martin (mdittmar ID: 3 <martin.dittmar@charite.de>)
Aug 17 21:50:55 llp openproject-web-1.service[725955]: E, [2022-08-17T21:50:55.676393 #725955] ERROR -- : user=3 undefined method `getutc' for Tue, 19 Jul 2022:Date
Aug 17 21:50:55 llp openproject-web-1.service[725955]: time.getutc
Aug 17 21:50:55 llp openproject-web-1.service[725955]: ^^^^^^^: undefined method `getutc' for Tue, 19 Jul 2022:Date
Aug 17 21:50:55 llp openproject-web-1.service[725955]: time.getutc
Aug 17 21:50:55 llp openproject-web-1.service[725955]: ^^^^^^^
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.677296 #725955] INFO -- : Rendered common/error.html.erb within layouts/no_menu (Duration: 0.3ms | Allocations: 96)
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.716420 #725955] INFO -- : Rendered layouts/base.html.erb (Duration: 39.0ms | Allocations: 25293)
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.716507 #725955] INFO -- : Rendered layout layouts/no_menu.html.erb (Duration: 39.5ms | Allocations: 25472)
Aug 17 21:50:55 llp openproject-web-1.service[725955]: I, [2022-08-17T21:50:55.716696 #725955] INFO -- : Completed 500 Internal Server Error in 71ms (Views: 29.9ms | ActiveRecord: 20.0ms | Allocations: 41847)
```
### Screenshots and other files
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/37410/content"></div></figure>
### 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**
* [ ] Hosted cloud edition
* [x] Packaged installation
* Ubuntu 22.04, Newestt PPA version
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
12.2
**Browser**
* [x] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
German