Environment:
Redmine version 3.1.0.stable
Ruby version 1.9.3-p194 (2012-04-20) [x86_64-linux]
Rails version 4.2.3
Environment production
Database adapter PostgreSQL (9.3)
SCM:
Subversion 1.6.17
Git 1.7.10.4
Filesystem
Redmine plugins:
redmine_checklists 3.1.1
redmine_ldap_sync 2.0.7.devel
redmine_xapian 1.6.3 devel
Processing by ProjectsController#settings as HTML
Parameters: {"id"=>"cex_asu"}
Setting Load (0.8ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."id" DESC LIMIT 1 [["name", "session_lifetime"]]
Setting Load (0.5ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."id" DESC LIMIT 1 [["name", "session_timeout"]]
(0.6ms) SELECT MAX("settings"."updated_on") FROM "settings"
User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."type" IN ('User', 'AnonymousUser') AND "users"."status" = $1 AND "users"."id" = $2 LIMIT 1 [["status", 1], ["id", 16]]
Current user: pky50257 (id=16)
Setting Load (0.8ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."id" DESC LIMIT 1 [["name", "force_default_language_for_loggedin"]]
Project Load (0.8ms) SELECT "projects".* FROM "projects" WHERE "projects"."identifier" = $1 LIMIT 1 [["identifier", "cex_asu"]]
(0.5ms) SELECT "enabled_modules"."name" FROM "enabled_modules" WHERE "enabled_modules"."project_id" = $1 [["project_id", 278]]
Member Load (0.9ms) SELECT "members".* FROM "members" INNER JOIN "projects" ON "projects"."id" = "members"."project_id" WHERE "members"."user_id" = $1 AND (projects.status<>9) AND "members"."project_id" = $2 ORDER BY projects.name LIMIT 1 [["user_id", 16], ["project_id", 278]]
Project Load (0.8ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" IN (278)
MemberRole Load (0.6ms) SELECT "member_roles".* FROM "member_roles" WHERE "member_roles"."member_id" IN (1232)
Role Load (0.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" IN (3)
Role Load (0.6ms) SELECT DISTINCT "roles".* FROM "roles" INNER JOIN "member_roles" ON "roles"."id" = "member_roles"."role_id" WHERE "member_roles"."member_id" = $1 [["member_id", 1232]]
IssueCustomField Load (0.7ms) SELECT "custom_fields".* FROM "custom_fields" WHERE "custom_fields"."type" IN ('IssueCustomField') ORDER BY "custom_fields"."position" ASC
Tracker Load (0.6ms) SELECT "trackers".* FROM "trackers" ORDER BY "trackers"."position" ASC
Wiki Load (0.5ms) SELECT "wikis".* FROM "wikis" WHERE "wikis"."project_id" = $1 LIMIT 1 [["project_id", 278]]
CACHE (0.0ms) SELECT DISTINCT "roles".* FROM "roles" INNER JOIN "member_roles" ON "roles"."id" = "member_roles"."role_id" WHERE "member_roles"."member_id" = $1 [["member_id", 1232]]
CACHE (0.0ms) SELECT DISTINCT "roles".* FROM "roles" INNER JOIN "member_roles" ON "roles"."id" = "member_roles"."role_id" WHERE "member_roles"."member_id" = $1 [["member_id", 1232]]
CACHE (0.0ms) SELECT DISTINCT "roles".* FROM "roles" INNER JOIN "member_roles" ON "roles"."id" = "member_roles"."role_id" WHERE "member_roles"."member_id" = $1 [["member_id", 1232]]
CACHE (0.0ms) SELECT DISTINCT "roles".* FROM "roles" INNER JOIN "member_roles" ON "roles"."id" = "member_roles"."role_id" WHERE "member_roles"."member_id" = $1 [["member_id", 1232]]
CACHE (0.0ms) SELECT DISTINCT "roles".* FROM "roles" INNER JOIN "member_roles" ON "roles"."id" = "member_roles"."role_id" WHERE "member_roles"."member_id" = $1 [["member_id", 1232]]
CACHE (0.0ms) SELECT DISTINCT "roles".* FROM "roles" INNER JOIN "member_roles" ON "roles"."id" = "member_roles"."role_id" WHERE "member_roles"."member_id" = $1 [["member_id", 1232]]
Role Load (0.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."builtin" = $1 ORDER BY "roles"."id" ASC LIMIT 1 [["builtin", 1]]
Member Load (2.7ms) SELECT "members".* FROM "members" INNER JOIN "projects" ON "projects"."id" = "members"."project_id" INNER JOIN "users" ON "users"."id" = "members"."user_id" WHERE (projects.status <> 9) AND (members.user_id = 16 OR (projects.is_public = 't' AND users.type = 'GroupNonMember'))
Project Load (1.7ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" IN (85, 21, 12, 29, 16, 219, 220, 221, 222, 229, 44, 230, 240, 242, 36, 93, 41, 19, 20, 78, 5, 142, 210, 151, 217, 152, 28, 65, 236, 234, 235, 271, 150, 278, 279, 280, 282, 283, 284, 285, 286, 287, 288)
MemberRole Load (0.9ms) SELECT "member_roles".* FROM "member_roles" WHERE "member_roles"."member_id" IN (633, 643, 39, 335, 336, 890, 894, 900, 904, 941, 1012, 984, 989, 1007, 171, 536, 215, 317, 346, 415, 495, 728, 831, 870, 876, 1013, 1019, 1022, 1023, 1036, 1126, 1137, 1218, 1232, 1242, 1247, 1253, 1258, 1277, 1283, 1289, 1295, 1310)
Role Load (0.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" IN (7, 6, 4, 3)
Project Load (1.1ms) SELECT "projects".* FROM "projects" WHERE (((projects.status = 1) AND (projects.id IN (21,12,29,16,242,93,41,19,20,78,5,142,210,151,217,28) OR projects.id IN (44,230,240,36,152,236,234,235,271,278,279,280,282,283,284,285,286,287,288))))
Project Load (0.6ms) SELECT "projects".* FROM "projects" WHERE (projects.lft >= 435 AND projects.rgt <= 436) ORDER BY "projects"."lft" ASC
Member Load (1.0ms) SELECT "members".* FROM "members" INNER JOIN "projects" ON "projects"."id" = "members"."project_id" WHERE "members"."user_id" = $1 AND (projects.status<>9) ORDER BY projects.name [["user_id", 16]]
Project Load (1.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" IN (21, 29, 19, 16, 28, 229, 236, 221, 210, 41, 230, 217, 20, 78, 44, 282, 12, 235, 150, 288, 5, 285, 284, 287, 279, 36, 234, 271, 152, 151, 240, 142, 280, 219, 222, 242, 85, 283, 65, 93, 220, 286, 278)
MemberRole Load (0.7ms) SELECT "member_roles".* FROM "member_roles" WHERE "member_roles"."member_id" IN (643, 335, 317, 336, 1019, 941, 1023, 900, 831, 215, 984, 876, 346, 415, 1012, 1253, 39, 1126, 1218, 1310, 495, 1283, 1277, 1295, 1242, 171, 1036, 1137, 1013, 870, 989, 728, 1247, 890, 904, 1007, 633, 1258, 1022, 536, 894, 1289, 1232)
Role Load (0.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" IN (6, 7, 4, 3)
CACHE (0.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."builtin" = $1 ORDER BY "roles"."id" ASC LIMIT 1 [["builtin", 1]]
CACHE (0.1ms) SELECT DISTINCT "roles".* FROM "roles" INNER JOIN "member_roles" ON "roles"."id" = "member_roles"."role_id" WHERE "member_roles"."member_id" = $1 [["member_id", 1232]]
Setting Load (0.6ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."id" DESC LIMIT 1 [["name", "text_formatting"]]
Setting Load (0.4ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."id" DESC LIMIT 1 [["name", "ui_theme"]]
CustomField Load (0.7ms) SELECT "custom_fields".* FROM "custom_fields" WHERE (type = 'ProjectCustomField') ORDER BY "custom_fields"."position" ASC
EnabledModule Load (0.4ms) SELECT "enabled_modules".* FROM "enabled_modules" WHERE "enabled_modules"."project_id" = $1 [["project_id", 278]]
Tracker Load (0.7ms) SELECT "trackers".* FROM "trackers" INNER JOIN "projects_trackers" ON "trackers"."id" = "projects_trackers"."tracker_id" WHERE "projects_trackers"."project_id" = $1 ORDER BY "trackers"."position" ASC [["project_id", 278]]
Rendered projects/_form.html.erb (178.9ms)
Rendered projects/_edit.html.erb (183.3ms)
Rendered projects/settings/_modules.html.erb (6.4ms)
Role Load (0.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."builtin" = $1 ORDER BY "roles"."position" ASC [["builtin", 0]]
SQL (3.3ms) SELECT "members"."id" AS t0_r0, "members"."user_id" AS t0_r1, "members"."project_id" AS t0_r2, "members"."created_on" AS t0_r3, "members"."mail_notification" AS t0_r4, "members"."dmsf_mail_notification" AS t0_r5, "member_roles"."id" AS t1_r0, "member_roles"."member_id" AS t1_r1, "member_roles"."role_id" AS t1_r2, "member_roles"."inherited_from" AS t1_r3, "roles"."id" AS t2_r0, "roles"."name" AS t2_r1, "roles"."position" AS t2_r2, "roles"."assignable" AS t2_r3, "roles"."builtin" AS t2_r4, "roles"."permissions" AS t2_r5, "roles"."issues_visibility" AS t2_r6, "roles"."users_visibility" AS t2_r7, "roles"."time_entries_visibility" AS t2_r8, "roles"."all_roles_managed" AS t2_r9, "users"."id" AS t3_r0, "users"."login" AS t3_r1, "users"."hashed_password" AS t3_r2, "users"."firstname" AS t3_r3, "users"."lastname" AS t3_r4, "users"."admin" AS t3_r5, "users"."status" AS t3_r6, "users"."last_login_on" AS t3_r7, "users"."language" AS t3_r8, "users"."auth_source_id" AS t3_r9, "users"."created_on" AS t3_r10, "users"."updated_on" AS t3_r11, "users"."type" AS t3_r12, "users"."identity_url" AS t3_r13, "users"."mail_notification" AS t3_r14, "users"."salt" AS t3_r15, "users"."jid" AS t3_r16, "users"."jid_token" AS t3_r17, "users"."jid_authenticated" AS t3_r18, "users"."must_change_passwd" AS t3_r19, "users"."passwd_changed_on" AS t3_r20 FROM "members" INNER JOIN "users" ON "users"."id" = "members"."user_id" LEFT OUTER JOIN "member_roles" ON "member_roles"."member_id" = "members"."id" LEFT OUTER JOIN "member_roles" "member_roles_members_join" ON "member_roles_members_join"."member_id" = "members"."id" LEFT OUTER JOIN "roles" ON "roles"."id" = "member_roles_members_join"."role_id" WHERE "members"."project_id" = $1 AND "users"."status" = $2 [["project_id", 278], ["status", 1]]
Setting Load (0.4ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."id" DESC LIMIT 1 [["name", "user_format"]]
Rendered projects/settings/_members.html.erb (62.9ms)
Rendered common/_tabs.html.erb (268.8ms)
Rendered projects/settings.html.erb within layouts/base (926.9ms)
Completed 500 Internal Server Error in 1526ms (ActiveRecord: 46.6ms)
ActionView::Template::Error (undefined method `role_editable?' for #<Member:0x00000007a33cc8>):
32: <%= check_box_tag('membership[role_ids][]',
33: role.id, member.roles.include?(role),
34: :id => nil,
35: :disabled => !member.role_editable?(role)) %> <%= role %>
36: </label><br />
37: <% end %>
38: </p>
app/views/projects/settings/_members.html.erb:35:in `block (3 levels) in _app_views_projects_settings__members_html_erb__3886315243649697529_63834200'
app/views/projects/settings/_members.html.erb:30:in `each'
app/views/projects/settings/_members.html.erb:30:in `block (2 levels) in _app_views_projects_settings__members_html_erb__3886315243649697529_63834200'
app/views/projects/settings/_members.html.erb:23:in `block in _app_views_projects_settings__members_html_erb__3886315243649697529_63834200'
app/views/projects/settings/_members.html.erb:17:in `each'
app/views/projects/settings/_members.html.erb:17:in `_app_views_projects_settings__members_html_erb__3886315243649697529_63834200'
app/views/common/_tabs.html.erb:22:in `block in _app_views_common__tabs_html_erb__4428776050512221364_38665080'
app/views/common/_tabs.html.erb:21:in `each'
app/views/common/_tabs.html.erb:21:in `_app_views_common__tabs_html_erb__4428776050512221364_38665080'
app/helpers/application_helper.rb:322:in `render_tabs'
app/views/projects/settings.html.erb:3:in `_app_views_projects_settings_html_erb__3413493905076898554_38222160'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'