Project

General

Profile

Actions

Defect #7426

closed

Cannot add issue with numeric value

Defect #7426: Cannot add issue with numeric value

Added by Jonas Haraldsson almost 16 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Resolution:
No feedback
Affected version:

Description

I have just upgraded Redmine to 1.0.4 (installing a new Bitnami Redmine stack and importing the database from Bitnami Redmine stack v0.9.6).

When I try to add a new issue, I get an error page (500).

The problem only appears if I enter a value in the "Estimated hours"-field.
See the attached production.log.tail.
As far as I can see, if I enter the value 2.2 in "Estimated hours", the value is sent as "2,2" which Mysql sees as two different values.

Database version: Mysql (mysql Ver 14.14 Distrib 5.1.50, for pc-linux-gnu (i686) using readline 5.1)
Rails version: 2.3.9
Ruby version: ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-linux]


Files

production.log.tail (1.32 KB) production.log.tail Entry added in redmine/log/production.log when problem occurred Jonas Haraldsson, 2011-01-24 18:52
production.log (53.2 KB) production.log Entire content of redmine/log/production.log Jonas Haraldsson, 2011-01-24 18:52

Updated by Jonas Haraldsson almost 16 years ago Actions #1

The problem disappears if I change the decimal point from "," to "." on the client PC (Windows XP).
(this is not a usable work-around!)

Updated by Jonas Haraldsson almost 16 years ago Actions #2

I have verified the same behaviour in Redmine v1.1.0.

It seems that this problem starts when I add an issue in a project where time tracking is disabled.
After that the same problem occurs for all new issues I try to create if the "Estimated hours" field is not empty.
The problem remains until I restart the redmine server.

In other words, A work-around is to enable time tracking on all projects.

Updated by Jean-Philippe Lang almost 16 years ago Actions #3

Any plugin installed?

Updated by Jonas Haraldsson almost 16 years ago Actions #4

No plugins installed.

Updated by Daniel Felix almost 14 years ago Actions #5

  • Due date set to 2013-01-22
  • Status changed from New to Needs feedback

I'm currently not able to reproduce this with Redmine 2.2.1 and a new MySQL Release.

Please confirm if this issue is solved in the recent versions. Otherwise I will close this issue next week.

Updated by Daniel Felix almost 14 years ago Actions #6

  • Status changed from Needs feedback to Closed

Closing this, as there is no feedback ont his issue and the affected version is realy old.

Updated by Daniel Felix almost 14 years ago Actions #7

  • Resolution set to No feedback

Closing this, as there is no feedback ont his issue and the affected version is realy old.

Actions

Also available in: PDF Atom