Project

General

Profile

Actions

Patch #2196

closed

Do not save @time_entry if comment/hour is nil

Added by Anh Kỳ Huỳnh about 16 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-
Start date:
2008-11-15
Due date:
% Done:

0%

Estimated time:

Description

Original file: source:/trunk/app/controllers/issues_controller.rb@2034

The patch will prevent edit action from saving @time_entry when both @comments and @hours are empty.


Files

issues_controller.rb.diff (11.8 KB) issues_controller.rb.diff Anh Kỳ Huỳnh, 2008-11-15 17:43

Related issues

Is duplicate of Redmine - Feature #24577: Settings to make the issue and/or comment fields mandatory for time logsClosedJean-Philippe Lang

Actions
Actions #2

Updated by Mischa The Evil almost 14 years ago

  • Subject changed from Donot save @time_entry if comment/hour is nil to Do not save @time_entry if comment/hour is nil
Actions #3

Updated by Go MAEDA almost 8 years ago

  • Is duplicate of Feature #24577: Settings to make the issue and/or comment fields mandatory for time logs added
Actions #4

Updated by Go MAEDA almost 8 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF