Patch #2196

Do not save @time_entry if comment/hour is nil

Added by Anh Kỳ Huỳnh almost 9 years ago. Updated 10 months ago.

Status:ClosedStart date:2008-11-15
Priority:NormalDue date:
Assignee:-% Done:

0%

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.

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


Related issues

Duplicates Redmine - Feature #24577: Settings to make the issue and/or comment fields mandator... Closed

History

#2 Updated by Mischa The Evil almost 7 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

#3 Updated by Go MAEDA 10 months ago

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

#4 Updated by Go MAEDA 10 months ago

  • Status changed from New to Closed

Also available in: Atom PDF