Content
View differences
Updated by Aaron Contreras almost 3 years ago
### Steps to reproduce
_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
1. Login as admin
2. Go to **Administration -> Users and permissions System Settings -> Users settings** Display**
3. Under **Display Format,** select Change `User display format` to `admin` (i.e. the "username" format (e.g. "admin") username)
4. Click on **Save**
5. Go to **Administration -> Work packages -> Custom actions**
6. 5. Click on "`+`" Button or the "`+ Custom action`" button "`+`"-Button
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* Expected Page did not load
* There was an error notification shown with the message "\[Error 500\] An error occurred on the page you were trying to access. If you continue to experience problems please contact your Wholestack bracket administrator for assistance."
### What is the expected behavior?
_Describe how the application should behave like. Example:_
1. The application should show the `New custom action` dialogue
2. The same applies to the editing of existing actions
### Important note
_Please note that unless you are a contributor to OpenProject, you can no longer edit this bug report after saving. You can still add new comments, but no longer add any new images or other attachments. Please make sure that all necessary information and attachments are added, and the following attributes are set:_
### **Logs**
```log
openproject-web-1 | I, [2023-07-05T10:00:33.137631 #74] INFO -- : Started GET "/admin/custom_actions/new" for x.x.x.x 2023-07-05 10:00:33 +0000
openproject-web-1 | I, [2023-07-05T10:00:33.139434 #74] INFO -- : Processing by CustomActionsController#new as HTML
openproject-web-1 | I, [2023-07-05T10:00:33.162739 #74] INFO -- : Rendered custom_actions/new.html.erb within layouts/admin (Duration: 16.6ms | Allocations: 11392)
openproject-web-1 | I, [2023-07-05T10:00:33.162796 #74] INFO -- : Rendered layout layouts/admin.html.erb (Duration: 16.7ms | Allocations: 11420)
openproject-web-1 | E, [2023-07-05T10:00:33.171082 #74] ERROR -- : user=3 missing attribute: login: missing attribute: login
openproject-web-1 | I, [2023-07-05T10:00:33.171667 #74] INFO -- : Rendered common/error.html.erb within layouts/no_menu (Duration: 0.2ms | Allocations: 95)
openproject-web-1 | I, [2023-07-05T10:00:33.194307 #74] INFO -- : Rendered layouts/base.html.erb (Duration: 22.5ms | Allocations: 24009)
openproject-web-1 | I, [2023-07-05T10:00:33.194374 #74] INFO -- : Rendered layout layouts/no_menu.html.erb (Duration: 22.9ms | Allocations: 24185)
openproject-web-1 | I, [2023-07-05T10:00:33.194520 #74] INFO -- : Completed 500 Internal Server Error in 55ms (Views: 21.1ms | ActiveRecord: 6.2ms | Allocations: 51604)
openproject-web-1 | I, [2023-07-05T10:00:33.586563 #74] INFO -- : Started GET "/api/v3/configuration" for x.x.x.x 2023-07-05 10:00:33 +0000
openproject-web-1 | I, [2023-07-05T10:00:33.596514 #74] INFO -- : duration=8.60 db=1.27 view=7.33 status=200 method=GET path=/api/v3/configuration params={} host=openproject.somedomain user=3
openproject-web-1 | I, [2023-07-05T10:00:33.625134 #74] INFO -- : Started GET "/api/v3/users/3/avatar" for x.x.x.x 2023-07-05 10:00:33 +0000
openproject-web-1 | I, [2023-07-05T10:00:33.633036 #74] INFO -- : duration=6.61 db=1.32 view=5.29 status=200 method=GET path=/api/v3/users/3/avatar params={} host=openproject.somedomain user=3
openproject-web-1 | I, [2023-07-05T10:00:33.659103 #74] INFO -- : Started GET "/api/v3/notifications?pageSize=0&filters=%5B%7B%22readIAN%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%22f%22%5D%7D%7D%5D" for x.x.x.x 2023-07-05 10:00:33 +0000
openproject-web-1 | I, [2023-07-05T10:00:33.669919 #74] INFO -- : duration=9.46 db=2.06 view=7.40 status=200 method=GET path=/api/v3/notifications params={"pageSize"=>"0", "filters"=>"[{\"readIAN\":{\"operator\":\"=\",\"values\":[\"f\"]}}]"} host=openproject.somedomain user=3
openproject-web-1 | I, [2023-07-05T10:00:33.846258 #74] INFO -- : Started GET "/api/v3/capabilities?pageSize=-1&filters=%5B%7B%22principal%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%223%22%5D%7D%7D%2C%7B%22context%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%22g%22%5D%7D%7D%2C%7B%22action%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%22projects%2Fcreate%22%5D%7D%7D%5D" for x.x.x.x 2023-07-05 10:00:33 +0000
openproject-web-1 | I, [2023-07-05T10:00:33.880665 #74] INFO -- : duration=32.97 db=11.19 view=21.78 status=200 method=GET path=/api/v3/capabilities params={"pageSize"=>"-1", "filters"=>"[{\"principal\":{\"operator\":\"=\",\"values\":[\"3\"]}},{\"context\":{\"operator\":\"=\",\"values\":[\"g\"]}},{\"action\":{\"operator\":\"=\",\"values\":[\"projects/create\"]}}]"} host=openproject.somedomain user=3
```
_Are there errors in the browser console? (_[_Click here for information on how to open your browser's console_](https://webmasters.stackexchange.com/a/77337)_) For a local installation: Are there relevant logs output by_ `_openproject logs_` _(packaged installation) (_[_click here for details_](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)_) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable_
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/59511/content">
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/59512/content">
### 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
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [x] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
**12.5.7**
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [x] Opera
**Language**
_"en\_DE" English, German Date and Number-Formats_
_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
1. Login as admin
2. Go to **Administration -> Users and permissions
3. Under **Display Format,** select
4. Click on **Save**
5. Go to **Administration -> Work packages -> Custom actions**
6.
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* Expected Page did not load
* There was an error notification shown with the message "\[Error 500\] An error occurred on the page you were trying to access. If you continue to experience problems please contact your Wholestack bracket administrator for assistance."
### What is the expected behavior?
_Describe how the application should behave like. Example:_
1. The application should show the `New custom action` dialogue
2. The same applies to the editing of existing actions
### Important note
_Please note that unless you are a contributor to OpenProject, you can no longer edit this bug report after saving. You can still add new comments, but no longer add any new images or other attachments. Please make sure that all necessary information and attachments are added, and the following attributes are set:_
### **Logs**
openproject-web-1 | I, [2023-07-05T10:00:33.137631 #74] INFO -- : Started GET "/admin/custom_actions/new" for x.x.x.x 2023-07-05 10:00:33 +0000
openproject-web-1 | I, [2023-07-05T10:00:33.139434 #74] INFO -- : Processing by CustomActionsController#new as HTML
openproject-web-1 | I, [2023-07-05T10:00:33.162739 #74] INFO -- : Rendered custom_actions/new.html.erb within layouts/admin (Duration: 16.6ms | Allocations: 11392)
openproject-web-1 | I, [2023-07-05T10:00:33.162796 #74] INFO -- : Rendered layout layouts/admin.html.erb (Duration: 16.7ms | Allocations: 11420)
openproject-web-1 | E, [2023-07-05T10:00:33.171082 #74] ERROR -- : user=3 missing attribute: login: missing attribute: login
openproject-web-1 | I, [2023-07-05T10:00:33.171667 #74] INFO -- : Rendered common/error.html.erb within layouts/no_menu (Duration: 0.2ms | Allocations: 95)
openproject-web-1 | I, [2023-07-05T10:00:33.194307 #74] INFO -- : Rendered layouts/base.html.erb (Duration: 22.5ms | Allocations: 24009)
openproject-web-1 | I, [2023-07-05T10:00:33.194374 #74] INFO -- : Rendered layout layouts/no_menu.html.erb (Duration: 22.9ms | Allocations: 24185)
openproject-web-1 | I, [2023-07-05T10:00:33.194520 #74] INFO -- : Completed 500 Internal Server Error in 55ms (Views: 21.1ms | ActiveRecord: 6.2ms | Allocations: 51604)
openproject-web-1 | I, [2023-07-05T10:00:33.586563 #74] INFO -- : Started GET "/api/v3/configuration" for x.x.x.x 2023-07-05 10:00:33 +0000
openproject-web-1 | I, [2023-07-05T10:00:33.596514 #74] INFO -- : duration=8.60 db=1.27 view=7.33 status=200 method=GET path=/api/v3/configuration params={} host=openproject.somedomain user=3
openproject-web-1 | I, [2023-07-05T10:00:33.625134 #74] INFO -- : Started GET "/api/v3/users/3/avatar" for x.x.x.x 2023-07-05 10:00:33 +0000
openproject-web-1 | I, [2023-07-05T10:00:33.633036 #74] INFO -- : duration=6.61 db=1.32 view=5.29 status=200 method=GET path=/api/v3/users/3/avatar params={} host=openproject.somedomain user=3
openproject-web-1 | I, [2023-07-05T10:00:33.659103 #74] INFO -- : Started GET "/api/v3/notifications?pageSize=0&filters=%5B%7B%22readIAN%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%22f%22%5D%7D%7D%5D" for x.x.x.x 2023-07-05 10:00:33 +0000
openproject-web-1 | I, [2023-07-05T10:00:33.669919 #74] INFO -- : duration=9.46 db=2.06 view=7.40 status=200 method=GET path=/api/v3/notifications params={"pageSize"=>"0", "filters"=>"[{\"readIAN\":{\"operator\":\"=\",\"values\":[\"f\"]}}]"} host=openproject.somedomain user=3
openproject-web-1 | I, [2023-07-05T10:00:33.846258 #74] INFO -- : Started GET "/api/v3/capabilities?pageSize=-1&filters=%5B%7B%22principal%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%223%22%5D%7D%7D%2C%7B%22context%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%22g%22%5D%7D%7D%2C%7B%22action%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%22projects%2Fcreate%22%5D%7D%7D%5D" for x.x.x.x 2023-07-05 10:00:33 +0000
openproject-web-1 | I, [2023-07-05T10:00:33.880665 #74] INFO -- : duration=32.97 db=11.19 view=21.78 status=200 method=GET path=/api/v3/capabilities params={"pageSize"=>"-1", "filters"=>"[{\"principal\":{\"operator\":\"=\",\"values\":[\"3\"]}},{\"context\":{\"operator\":\"=\",\"values\":[\"g\"]}},{\"action\":{\"operator\":\"=\",\"values\":[\"projects/create\"]}}]"} host=openproject.somedomain user=3
```
_Are there errors in the browser console? (_[_Click here for information on how to open your browser's console_](https://webmasters.stackexchange.com/a/77337)_) For a local installation: Are there relevant logs output by_ `_openproject logs_` _(packaged installation) (_[_click here for details_](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)_) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable_
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/59511/content">
### 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
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [x] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
**12.5.7**
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [x] Opera
**Language**
_"en\_DE" English, German Date and Number-Formats_