Project

General

Profile

Actions

Defect #82

closed

Creating a new tracker without copying workflow leads to error page

Added by Jack Dan over 16 years ago. Updated over 16 years ago.

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

0%

Estimated time:
Resolution:
Affected version:

Description

When I try to create a new tracker without copying the workflow of another project, it leads me to an error page:

ActiveRecord::StatementInvalid in TrackersController#new

RuntimeError: ERROR C22P02 Minvalid input syntax for integer: "" Fnumutils.c L74 Rpg_atoi: SELECT * FROM trackers
WHERE (trackers."id" = '') LIMIT 1

Request

Parameters: {"commit"=>"Create", "copy_workflow_from"=>"",
"tracker"=>{"name"=>"test2", "is_in_roadmap"=>"1",
"is_in_chlog"=>"0"}}

However, the new tracker IS indeed created. If I go back to the 'Trackers' page (Administration > issue tracking
> trackers) I see my new tracker. It's just that it has a 'No workflow defined for this tracker (Edit)' comment.

Thank you for a great web app.

-Jackdan

Actions #1

Updated by Jean-Philippe Lang over 16 years ago

Thanks. This problem didn't occur with mysql.
I've just fixed it (rev 598).

Regards

Actions

Also available in: Atom PDF