Project

General

Profile

Actions

Defect #5123

closed

NoMethodError when no issue params are submitted (undefined method `[]' for nil:NilClass)

Added by Alisson Cavalcante Agiani almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues
Target version:
Start date:
2010-03-19
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

Description

This error occurs randomly when managing issues.

Error log is here:
http://pastie.org/876525

Environment:
Ruby version 1.8.7 (i686-linux)
RubyGems version 1.3.6
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /SVNBIN/redmine
Environment production
Database adapter postgresql
Database schema version 20100221100219

I'm using Redmine 0.9.3

Actions #1

Updated by Jean-Philippe Lang almost 14 years ago

  • Assignee deleted (Eric Davis)

There is no issues parameter in your POST request.
How does it occur?

Actions #2

Updated by Alisson Cavalcante Agiani almost 14 years ago

It occurs randomly when saving new issues...

Actions #3

Updated by Eric Davis over 13 years ago

  • Status changed from New to Closed
  • Assignee set to Eric Davis
  • Target version set to 0.9.5
  • % Done changed from 0 to 100
  • Resolution set to Fixed

This bug is only present in the 0.9.x branch, the code in trunk has been refactored so it's not an issue there. I've fixed this in 0.9-stable in r3796 so it shouldn't happen in 0.9.5.

Actions #4

Updated by Eric Davis over 13 years ago

  • Subject changed from NoMethodError (undefined method `[]' for nil:NilClass) to NoMethodError when no issue params are submitted (undefined method `[]' for nil:NilClass)
Actions

Also available in: Atom PDF