Project

General

Profile

Actions

Defect #7573

closed

Clicking "View All Issues" from my page throws exception

Added by Tom DeMay almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-07
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Go to "my page", click on "view all issues" from any list and it throws a NilClass exception

Processing IssuesController#index (for 10.1.250.210 at 2011-02-07 16:35:07) [GET]
Parameters: {"watcher_id"=>"me", "set_filter"=>"1", "action"=>"index", "controller"=>"issues", "sort"=>"updated_on:desc"}
SQL (0.4ms) SELECT max(`settings`.updated_on) AS max_updated_on FROM `settings`
User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) AND (users.status = 1) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) )
Tracker Load (0.5ms) SELECT * FROM `trackers` ORDER BY position
IssueStatus Load (0.4ms) SELECT * FROM `issue_statuses` ORDER BY position
IssuePriority Load (0.5ms) SELECT * FROM `enumerations` WHERE ( (`enumerations`.`type` = 'IssuePriority' ) ) ORDER BY enumerations.position ASC
Project Load (0.6ms) SELECT * FROM `projects` WHERE (projects.status=1)
User Load (0.8ms) SELECT * FROM `users` WHERE (users.id IN (SELECT DISTINCT user_id FROM members WHERE project_id IN (1,2,3,4))) AND (users.status = 1) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) )
Version Load Including Associations (1.5ms) SELECT `versions`.`id` AS t0_r0, `versions`.`project_id` AS t0_r1, `versions`.`name` AS t0_r2, `versions`.`description` AS t0_r3, `versions`.`effective_date` AS t0_r4, `versions`.`created_on` AS t0_r5, `versions`.`updated_on` AS t0_r6, `versions`.`wiki_page_title` AS t0_r7, `versions`.`status` AS t0_r8, `versions`.`sharing` AS t0_r9, `projects`.`id` AS t1_r0, `projects`.`name` AS t1_r1, `projects`.`description` AS t1_r2, `projects`.`homepage` AS t1_r3, `projects`.`is_public` AS t1_r4, `projects`.`parent_id` AS t1_r5, `projects`.`created_on` AS t1_r6, `projects`.`updated_on` AS t1_r7, `projects`.`identifier` AS t1_r8, `projects`.`status` AS t1_r9, `projects`.`lft` AS t1_r10, `projects`.`rgt` AS t1_r11 FROM `versions` LEFT OUTER JOIN `projects` ON `projects`.id = `versions`.project_id WHERE (`versions`.`sharing` = 'system') AND (projects.status=1 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='issue_tracking'))
IssueCustomField Load (0.3ms) SELECT * FROM `custom_fields` WHERE (`custom_fields`.`is_filter` = 1 AND `custom_fields`.`is_for_all` = 1) AND ( (`custom_fields`.`type` = 'IssueCustomField' ) )

NoMethodError (undefined method `assignable_users' for nil:NilClass):
app/models/query.rb:221:in `available_filters'
app/helpers/queries_helper.rb:86:in `retrieve_query'
app/controllers/issues_controller.rb:61:in `index'

Rendering /opt/bitnami/apps/redmine/public/500.html (500 Internal Server Error)
^C

Actions

Also available in: Atom PDF