Project

General

Profile

Actions

Patch #2196

closed

Do not save @time_entry if comment/hour is nil

Added by Anh Kỳ Huỳnh over 17 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-

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 LangActions
Actions #2

Updated by Mischa The Evil about 15 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 about 9 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 about 9 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF