Project

General

Profile

Actions

Defect #12359

closed

Version date field regex validation accepts invalid date

Added by Róbert Ágoston about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Roadmap
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Version date field regexp validation accepts invalid dates like "2012-11-33". Stored value is nil and no validation errors.

I attached a proposed patch that fixes this bug.


Files

version_validate_effective_date.diff (1.63 KB) version_validate_effective_date.diff Proposed patch. Róbert Ágoston, 2012-11-14 17:23

Related issues

Related to Redmine - Defect #9394: Custom date field only validating on regex and not a valid dateClosed2011-10-09

Actions
Actions

Also available in: Atom PDF