Project

General

Profile

Actions

Defect #99

closed

Update of time entry fails when issue has been moved to other project

Added by Matthijs Dekker over 16 years ago. Updated over 16 years ago.

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

projects_controller.patch (770 Bytes) projects_controller.patch Matthijs Dekker, 2008-02-03 10:51
Actions #1

Updated by Jean-Philippe Lang over 16 years ago

Fixed in r909.

Actions

Also available in: Atom PDF