Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing timesheet record with a rate factor applied, keeps applying the factor with each edit. #1988

Closed
IxFail opened this issue Sep 23, 2020 · 1 comment · Fixed by #2807
Labels
Milestone

Comments

@IxFail
Copy link
Contributor

IxFail commented Sep 23, 2020

Describe the bug
When an entry in the timesheet is edited when it has a rate multiplier applied to it, it keeps adding the rate over the allready applied rate.

To Reproduce
Steps to reproduce the behavior:

  1. Apply a rate multiplier as described Here
    For example a factor of 2.0 at Sunday.
  2. Put in your hours in the timesheet as you're usually doing (at the day that the rate factor applies).
    (Example your Hourly rate is 10 and you have worked for 1 hour, you get a rate of 20 as intended)
  3. Edit a something in the record, does not matter what. (example: add Test123 to the description).
  4. Save the edit record.
  5. See that the rate has doubled (even if you did not change the working time).
  6. Edit something in the record again. (example: Change description to Test321)
  7. See that the rate has doubled again.
  8. Rinse and repeat with every edit.

Logfile
(Nothing gets added to the log file (Last entry 01-09-2020) problem occurred at 23-09-2020

[2020-09-01 21:48:06] security.DEBUG: Stored the security token in the session. {"key":"_security_secured_area"} []

Additional context
Add any other context about the problem here.

  • Kimai version: 1.10.2 stable (Ayumi)
  • PHP version: 7.3.21-1+ubuntu16.04.1+deb.sury.org+1
  • MySQL: mysql Ver 14.14 Distrib 5.7.31, for Linux (x86_64) using EditLine wrapper
@github-actions
Copy link

github-actions bot commented Apr 2, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging a pull request may close this issue.

2 participants