Project

General

Profile

Actions

Defect #12359

closed

Version date field regex validation accepts invalid date

Defect #12359: Version date field regex validation accepts invalid date

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

Status:
Closed
Priority:
Normal
Category:
Roadmap
Target version:
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 1 (0 open — 1 closed)

Related to Redmine - Defect #9394: Custom date field only validating on regex and not a valid dateClosedActions
Actions

Also available in: PDF Atom