Defect #5123
NoMethodError when no issue params are submitted (undefined method `[]' for nil:NilClass)
| Status: | Closed | Start: | 2010-03-19 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Eric Davis | % Done: | 100% |
|
| Category: | Issues | |||
| Target version: | 0.9.5 | |||
| Affected version: | 0.9.3 | Resolution: | Fixed |
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
Associated revisions
Fix nil method error when no issue params are submitted. #5123
History
Updated by Jean-Philippe Lang 6 months ago
- Assigned to deleted (
Eric Davis)
There is no issues parameter in your POST request.
How does it occur?
Updated by Eric Davis 2 months ago
- Status changed from New to Closed
- Assigned to 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.
Updated by Eric Davis 2 months ago
- Subject changed from NoMethodError (undefined method `[]' for nil:NilClass) to NoMethodError when no issue params are submitted (undefined method `[]' for nil:NilClass)