Project

General

Profile

Actions

Defect #5688

closed

Version editing not accepting valid Date input

Added by William Wedin almost 14 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Roadmap
Target version:
-
Start date:
2010-06-15
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

When submitting a new Version or editing an existing one, if I attempt to submit a date, I get the error "Date is not a valid date," and the data is not committed to the database. Checking the log file, I can see that the date is exactly correct, in yyyy-mm-dd format with no whitespace.

Commenting out the "validates_format_of :effective_date" line in version.rb fixes the problem, but this is obviously a less-than-ideal solution. The issue has been occurring for several versions now, on two different (but similarly configured) servers.

About your application's environment
Ruby version 1.8.6 (i386-mswin32)
RubyGems version 1.3.5
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root C:/redmine
Environment development
Database adapter sqlserver
Database schema version 20100313171051

Redmine r3768
MS SQL Server 2008

Actions

Also available in: Atom PDF