Project

General

Profile

Actions

Patch #2196

closed

Do not save @time_entry if comment/hour is nil

Patch #2196: Do not save @time_entry if comment/hour is nil

Added by Anh Kỳ Huỳnh about 18 years ago. Updated almost 10 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 1 (0 open — 1 closed)

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

Updated by Mischa The Evil almost 16 years ago Actions #2

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

Updated by Go MAEDA almost 10 years ago Actions #3

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

Updated by Go MAEDA almost 10 years ago Actions #4

  • Status changed from New to Closed
Actions

Also available in: PDF Atom