More information:
Below is the log info when i create the new issue:
---------------------
Processing IssuesController#index (for 118.113.193.91 at 2011-06-09 19:17:27) [POST]
Parameters: {"commit"=>"创建", "project_id"=>"df", *"action"=>"index"*, "authenticity_token"=>"j4uuOFNKIlXl8HsGoKOhD4UCD26IygBWhvE76Tglv30=", "issue"=>{"start_date"=>"2011-06-09", "estimated_hours"=>"", "parent_issue_id"=>"", "priority_id"=>"4", "is_private"=>"0", "assigned_to_id"=>"", "subject"=>"cadfsf ", "tracker_id"=>"1", "due_date"=>"", "status_id"=>"1", "description"=>"agsdf fsdf"}, "controller"=>"issues", "attachments"=>{"1"=>{"description"=>""}}}
Rendering template within layouts/base
Rendering issues/index.rhtml
Completed in 96ms (View: 72, DB: 3) | 200 OK [http://pm.chineseyouth.com.au/issues?project_id=df]
Bleow is log info when i create the news. and this is ok.
Processing NewsController#create (for 118.113.193.91 at 2011-06-09 19:38:53) [POST]
Parameters: {"commit"=>"创建", "project_id"=>"df", "action"=>"create", "authenticity_token"=>"j4uuOFNKIlXl8HsGoKOhD4UCD26IygBWhvE76Tglv30=", "controller"=>"news", "news"=>{"title"=>"test", "description"=>"tewadfsdfsa", "summary"=>""}}
Sending email notification to: admin@example.net
Redirected to http://pm.chineseyouth.com.au/news?project_id=df
Completed in 536ms (DB: 32) | 302 Found [http://pm.chineseyouth.com.au/projects/df/news]
i compared this.
i found that the action is "index" but not "create" when create new issue, so the create new issue is failed. however the action is "create", so the create the news is successfully.
How can modify source code? which file include this error?
Thanks!
Br, wwyhy