Content
View differences
Updated by Alexander Stock over 1 year ago
### Before filing a report
_Before you file a report, please ensure you are running the latest version of OpenProject and_
_have searched for similar bug reports._
_Yup_
### Steps to reproduce
1. Create a new Budget as stated in the documentation and add planned labor costs for a user
2. Add a task and assign to budget
3. Log time on the Task
4. Open Budget and see that the entry is correctly added (actual labor costs) an the budget is lower by the tracked time
5. Log another Time Entry in the same work package for the same user
6. Reopen Budget and check actual labor costs
7. The total sum of costs updates correctly, however spend hours per task stay the same and so do cost per task
### What is the buggy behavior?
* The Spend time is calculated correctly in all other views (also in the budget details header and on the budgets overview) but not in the actual labor costs tab view
* For a given work package and user, only the last entered time entry is shown (whatever the date or category).
### What is the expected behavior?
1. The actual labor costs detail view should summarize all time logs for a task so that hour spend and costs sum up to the totals of the last row.
2. All entered time entries should be shown for a given work package and user.
### Important note
in support ticket 18401 we made the following observation:
the list of actual labor costs will replace the last entry of your booked labor costs for the same work package again, if certain conditions apply.
Example of actual labor costs
Work package A / 1 h
Work package B / 2 h
Work package A / 1.5h
Now. if you book e.g. 1h on work package B again, it will look like this:
Work package A / 1 h
Work package B / 2 h
Work package A / 1.5h
Work package B / 1h
BUT if you book 1 on work package A again, it will look like this
Work package A / 1 h
Work package B / 2 h
Work package A / 1h
So, the last list entry will be replace with the latest booked time entry, if both have been booked on a work package with the same ID.
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/110000/content">
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [x] Packaged installation
* Ubuntu 22.04
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_v14.2.0_
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
_Browser: English; User: German_
_Before you file a report, please ensure you are running the latest version of OpenProject and_
_have searched for similar bug reports._
_Yup_
### Steps to reproduce
1. Create a new Budget as stated in the documentation and add planned labor costs for a user
2. Add a task and assign to budget
3. Log time on the Task
4. Open Budget and see that the entry is correctly added (actual labor costs) an the budget is lower by the tracked time
5. Log another Time Entry in the same work package for the same user
6. Reopen Budget and check actual labor costs
7. The total sum of costs updates correctly, however spend hours per task stay the same and so do cost per task
### What is the buggy behavior?
* The Spend time is calculated correctly in all other views (also in the budget details header and on the budgets overview) but not in the actual labor costs tab view
* For a given work package and user, only the last entered time entry is shown (whatever the date or category).
### What is the expected behavior?
1. The actual labor costs detail view should summarize all time logs for a task so that hour spend and costs sum up to the totals of the last row.
2. All entered time entries should be shown for a given work package and user.
### Important note
in support ticket 18401 we made the following observation:
the list of actual labor costs will replace the last entry of your booked labor costs for the same work package again, if certain conditions apply.
Example of actual labor costs
Work package A / 1 h
Work package B / 2 h
Work package A / 1.5h
Now. if you book e.g. 1h on work package B again, it will look like this:
Work package A / 1 h
Work package B / 2 h
Work package A / 1.5h
Work package B / 1h
BUT if you book 1 on work package A again, it will look like this
Work package A / 1 h
Work package B / 2 h
Work package A / 1h
So, the last list entry will be replace with the latest booked time entry, if both have been booked on a work package with the same ID.
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/110000/content">
### Environment information
**OpenProject installation type**
*
*
_v14.2.0_
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
_Browser: English; User: German_