Project

General

Profile

Actions

Defect #6233

closed

Time Track impossible if project identifier is numeric

Added by Mortitia Adams over 14 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-
Start date:
2010-08-27
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

If a project identifier is only numeric, the form for time track input crashes.

TypeError in Timelog#edit

Showing app/views/timelog/edit.rhtml where line #3 raised:

can't convert Fixnum into String

(Full Stack attached)

Changed the identifier to a non-numeric value for this project in DB, then it worked.


Files

error_redmine_timetrack.txt (19.1 KB) error_redmine_timetrack.txt Mortitia Adams, 2010-08-27 09:15
Actions #1

Updated by Mischa The Evil over 14 years ago

  • Status changed from New to Resolved
  • Priority changed from High to Normal
  • Resolution set to Cant reproduce

Mortitia Adams wrote:

If a project identifier is only numeric, [...]

A project with a project identifier containing digits only should not be possible to create at first, since that is not supported. See source:/trunk/app/models/project.rb@4083#L73.

Mayb I ask how you created the project (or more specific: using which Redmine version) or did you migrated from another system?

Actions #2

Updated by Mischa The Evil about 14 years ago

  • Status changed from Resolved to Closed

No feedback. Please re-open if needed.

Actions #3

Updated by Louis Wentz about 13 years ago

SPAM

Actions

Also available in: Atom PDF