Project

General

Profile

Actions

Defect #4345

closed

Creating a new Feature does not work.

Added by Xuân Baldauf over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2009-12-06
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

With the current git version (commit e1781235696fe23851154ebbdc913e970d3c0f3a), it is not possible to create a new issue and change the "Tracker" setting from "Bug" to "Feature". Upon changing this setting to "Feature", following error appears:

Processing IssuesController#update_form (for 0:0:0:0:0:0:0:1 at 2009-12-06 01:42:42) [POST]
  Parameters: {"authenticity_token"=>"obfuscated1", "issue"=>{"tracker_id"=>"1", "subject"=>"", "description"=>""}, "attachments"=>{"1"=>{"description"=>""}}, "commit"=>"Anlegen", "id"=>"", "controller"=>"issues", "project_id"=>"obfuscated2", "action"=>"update_form"}

ActiveRecord::RecordNotFound (Couldn't find Issue with ID= AND ("issues".project_id = 4)):
  app/controllers/issues_controller.rb:440:in `update_form'
  /usr/bin/./share/jruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
  /usr/bin/./share/jruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
  /usr/bin/./share/jruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
  /usr/bin/./share/jruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
  /usr/bin/./share/jruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
  /usr/bin/./share/jruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
  /usr/bin/./share/jruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
  /usr/bin/./share/jruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
  /usr/bin/./share/jruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
  /usr/bin/./share/jruby/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /home/redmine/app/redmine/git/redmine/public/404.html (404 Not Found)

It looks like the controller wants to refer to an issue ID while there is currently no issue ID for this issue (as this is a new issue in progress to be created).

Actions #1

Updated by Jean-Philippe Lang over 14 years ago

  • Status changed from New to Closed
  • Affected version (unused) set to devel
  • Resolution set to Fixed

This should be fixed in r3125.

Actions

Also available in: Atom PDF