Actions
Defect #99
closedUpdate of time entry fails when issue has been moved to other project
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
When an issue has been moved to another project, it is no longer possible to edit the existing time entries linked to
this issue.
Error message: « Issue » is invalid
Cause:
The project_id in the time_entries table still points to the previous project. Validation in in the TimeEntry model
cancels the update, since the project_id does not match the issue.project_id.
Suggested fix:
When moving the issue to another project, also move the time entries to the new project.
Patch has been attached.
Files
Actions