Content
View differences
Updated by Wieland Lindenthal over 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. User is member logs in a project where time and cost logging is enabled
2. In that project the user is having a role with the permissions to _View own spent time_ and to _Log own time._ The permission to _Edit own time logs_ is disabled. And that seems to be relevant.
3. User opens Opens "my page"
4. 3. Add Tries to use the "My Spent time" widget
5.
1. Click arrow left or arrow right to paginate through See previous / next weeks date
2. Record spent time
Not all users are affected but the calendar (This is the moment where a JS error occours) ones that do, are always affected!
### What is the buggy behavior?
_Please describe the bug with as most details as possible. Example:_
1. In As soon any spent time dat is shown in the browser console an exception is thrown widget, the error occurs
2. Widget becomes unusable until Navigation to previous / next week or today is not possible, most reload the page reload
The bug was not present in version 11, only after the recent update to 12.3.2
### What is the expected behavior?
_Describe how the application should behave like. Example:_
1. We can freely navigate between the weeks
### 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**
Attached, _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_
_Attached, relevant user-id: 29 29_
### Screenshots and other files
Expected behavior : My Spent Time OK.gif
Bogus behavior: My Spent Time NOK.gif
### 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 18
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
Core version OpenProject 12.3.2
PostgreSQL version 13.8
**Browser**
* [x] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [x] Other (please specify) EDGE
**Language**
English, Hungarian
2. In that project the user is having a role with the permissions to _View own spent time_ and to _Log own time._ The permission to _Edit own time logs_ is disabled. And that seems to be relevant.
3. User opens
4.
5.
1.
2. Record spent time
Not all users are affected but
### What is the buggy behavior?
2. Widget becomes unusable until
The bug was not present in version 11, only after the recent update to 12.3.2
### What is the expected behavior?
###
_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:_
###
Attached,
_Attached, relevant
### Screenshots and other files
Expected behavior : My Spent Time OK.gif
Bogus behavior: My Spent Time NOK.gif
### Environment information
* [ ] Hosted cloud edition
* [x] Packaged installation
* Ubuntu 18
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
Core version OpenProject 12.3.2
PostgreSQL version 13.8
**Browser**
* [x] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [x] Other (please specify) EDGE
**Language**
English, Hungarian