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

Task's hours get restored when changing task description #994

Open
maszczyn opened this issue Oct 11, 2013 · 0 comments
Open

Task's hours get restored when changing task description #994

maszczyn opened this issue Oct 11, 2013 · 0 comments

Comments

@maszczyn
Copy link

Environment:
Redmine version 2.3.2.stable
Ruby version 1.9.3-p194 (2012-04-20) [x86_64-linux]
Rails version 3.2.13
Environment production
Database adapter Mysql2
Redmine plugins:
redmine_backlogs v1.0.5

I noticed that tasks with zero hours estimate get their estimate erroneously restored to the original value, in certain circumstances.

Steps to reproduce:

  1. Create a new task with non-zero estimate, for example 5 hours
  2. Open the task and change the estimate to 0
  3. Open the task and change its description
  4. Observe description change (as expected) AND the estimate reverted to original value of 5 hours (this is not expected)

It seems that leaving the "Remaining hours" field empty and saving causes the estimate to be reverted to the original value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant