Guest User

Untitled

a guest
Apr 23rd, 2012
108
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Processing IssuesController#index (for 192.168.100.23 at 2012-04-23 09:15:13) [GET]
  2.   Parameters: {"controller"=>"issues", "action"=>"index", "project_id"=>"desktopissues"}
  3.   SQL (0.4ms)   SELECT max(`settings`.updated_on) AS max_updated_on FROM `settings`
  4.   User Load (0.4ms)   SELECT * FROM `users` WHERE (`users`.`id` = 4) AND (users.status = 1) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) )
  5.   Project Load (0.4ms)   SELECT * FROM `projects` WHERE (`projects`.`identifier` = 'desktopissues') LIMIT 1
  6.   EnabledModule Load (0.4ms)   SELECT name FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 5)
  7.   IssueCustomField Load (0.4ms)   SELECT * FROM `custom_fields` WHERE (is_for_all=1) AND ( (`custom_fields`.`type` = 'IssueCustomField' ) ) ORDER BY position
  8.   IssueCustomField Load (0.5ms)   SELECT * FROM `custom_fields` INNER JOIN `custom_fields_projects` ON `custom_fields`.id = `custom_fields_projects`.custom_field_id WHERE (`custom_fields_projects`.project_id = 5 ) AND ( (`custom_fields`.`type` = 'IssueCustomField' ) ) ORDER BY custom_fields.position
  9.   Tracker Load (0.8ms)   SELECT DISTINCT trackers.* FROM `trackers` INNER JOIN `projects_trackers` ON `projects_trackers`.tracker_id = `trackers`.id INNER JOIN `projects` ON `projects`.id = `projects_trackers`.project_id WHERE (projects.lft >= 7 AND projects.rgt <= 8 AND projects.status = 1) ORDER BY trackers.position
  10.   IssueStatus Load (0.4ms)   SELECT * FROM `issue_statuses` ORDER BY position
  11.   IssuePriority Load (0.4ms)   SELECT * FROM `enumerations` WHERE ( (`enumerations`.`type` = 'IssuePriority' ) ) ORDER BY enumerations.position ASC
  12.   Principal Load (0.8ms)   SELECT `users`.* FROM `users` INNER JOIN `members` ON `users`.id = `members`.user_id WHERE ((`members`.project_id = 5) AND ((users.type='Group' OR (users.type='User' AND users.status=1))))
  13.   Group Load (0.4ms)   SELECT * FROM `users` WHERE ( (`users`.`type` = 'Group' ) )
  14.   Role Load (0.4ms)   SELECT * FROM `roles` WHERE (builtin = 0) ORDER BY position
  15.   IssueCategory Load (0.6ms)   SELECT * FROM `issue_categories` WHERE (`issue_categories`.project_id = 5) ORDER BY issue_categories.name
  16.   Version Load Including Associations (1.0ms)   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 (projects.id = 5 OR (projects.status = 1 AND ( versions.sharing = 'system' OR (projects.lft >= 7 AND projects.rgt <= 8 AND versions.sharing = 'tree') OR (projects.lft < 7 AND projects.rgt > 8 AND versions.sharing IN ('hierarchy', 'descendants')) OR (projects.lft > 7 AND projects.rgt < 8 AND versions.sharing = 'hierarchy'))))
  17.   SQL (0.6ms)   SELECT count(*) AS count_all FROM `projects` WHERE (((projects.status = 1) AND (projects.id != 5)) AND (projects.`lft` >= 7 AND projects.`rgt` <= 8))
  18.   SQL (1.8ms)   SELECT count(DISTINCT `issues`.id) AS count_all FROM `issues` LEFT OUTER JOIN `projects` ON `projects`.id = `issues`.project_id LEFT OUTER JOIN `issue_statuses` ON `issue_statuses`.id = `issues`.status_id WHERE ((issue_statuses.is_closed=0) AND projects.id = 5) AND (projects.status=1 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='issue_tracking'))
  19.   CACHE (0.0ms)   SELECT count(*) AS count_all FROM `projects` WHERE (((projects.status = 1) AND (projects.id != 5)) AND (projects.`lft` >= 7 AND projects.`rgt` <= 8))
  20.   Issue Load Including Associations (8.9ms)   SELECT `issues`.`id` AS t0_r0, `issues`.`tracker_id` AS t0_r1, `issues`.`project_id` AS t0_r2, `issues`.`subject` AS t0_r3, `issues`.`description` AS t0_r4, `issues`.`due_date` AS t0_r5, `issues`.`category_id` AS t0_r6, `issues`.`status_id` AS t0_r7, `issues`.`assigned_to_id` AS t0_r8, `issues`.`priority_id` AS t0_r9, `issues`.`fixed_version_id` AS t0_r10, `issues`.`author_id` AS t0_r11, `issues`.`lock_version` AS t0_r12, `issues`.`created_on` AS t0_r13, `issues`.`updated_on` AS t0_r14, `issues`.`start_date` AS t0_r15, `issues`.`done_ratio` AS t0_r16, `issues`.`estimated_hours` AS t0_r17, `issues`.`parent_id` AS t0_r18, `issues`.`root_id` AS t0_r19, `issues`.`lft` AS t0_r20, `issues`.`rgt` AS t0_r21, `issues`.`is_private` AS t0_r22, `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, `issue_statuses`.`id` AS t2_r0, `issue_statuses`.`name` AS t2_r1, `issue_statuses`.`is_closed` AS t2_r2, `issue_statuses`.`is_default` AS t2_r3, `issue_statuses`.`position` AS t2_r4, `issue_statuses`.`default_done_ratio` AS t2_r5, `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`.`mail` AS t3_r5, `users`.`admin` AS t3_r6, `users`.`status` AS t3_r7, `users`.`last_login_on` AS t3_r8, `users`.`language` AS t3_r9, `users`.`auth_source_id` AS t3_r10, `users`.`created_on` AS t3_r11, `users`.`updated_on` AS t3_r12, `users`.`type` AS t3_r13, `users`.`identity_url` AS t3_r14, `users`.`mail_notification` AS t3_r15, `users`.`salt` AS t3_r16, `trackers`.`id` AS t4_r0, `trackers`.`name` AS t4_r1, `trackers`.`is_in_chlog` AS t4_r2, `trackers`.`position` AS t4_r3, `trackers`.`is_in_roadmap` AS t4_r4, `enumerations`.`id` AS t5_r0, `enumerations`.`name` AS t5_r1, `enumerations`.`position` AS t5_r2, `enumerations`.`is_default` AS t5_r3, `enumerations`.`type` AS t5_r4, `enumerations`.`active` AS t5_r5, `enumerations`.`project_id` AS t5_r6, `enumerations`.`parent_id` AS t5_r7, `issue_categories`.`id` AS t6_r0, `issue_categories`.`project_id` AS t6_r1, `issue_categories`.`name` AS t6_r2, `issue_categories`.`assigned_to_id` AS t6_r3, `versions`.`id` AS t7_r0, `versions`.`project_id` AS t7_r1, `versions`.`name` AS t7_r2, `versions`.`description` AS t7_r3, `versions`.`effective_date` AS t7_r4, `versions`.`created_on` AS t7_r5, `versions`.`updated_on` AS t7_r6, `versions`.`wiki_page_title` AS t7_r7, `versions`.`status` AS t7_r8, `versions`.`sharing` AS t7_r9 FROM `issues` LEFT OUTER JOIN `projects` ON `projects`.id = `issues`.project_id LEFT OUTER JOIN `issue_statuses` ON `issue_statuses`.id = `issues`.status_id LEFT OUTER JOIN `users` ON `users`.id = `issues`.assigned_to_id LEFT OUTER JOIN `trackers` ON `trackers`.id = `issues`.tracker_id LEFT OUTER JOIN `enumerations` ON `enumerations`.id = `issues`.priority_id AND (`enumerations`.`type` = 'IssuePriority' ) LEFT OUTER JOIN `issue_categories` ON `issue_categories`.id = `issues`.category_id LEFT OUTER JOIN `versions` ON `versions`.id = `issues`.fixed_version_id WHERE ((issue_statuses.is_closed=0) AND projects.id = 5) AND (projects.status=1 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='issue_tracking')) ORDER BY issues.id DESC LIMIT 0, 25
  21. Rendering template within layouts/base
  22. Rendering issues/index
  23. Rendered queries/_filters (56.2ms)
  24. Rendered queries/_columns (4.3ms)
  25. Rendered issues/_list (12.5ms)
  26.   Token Load (0.5ms)   SELECT * FROM `tokens` WHERE (`tokens`.user_id = 4 AND (action='feeds')) LIMIT 1
  27.   Query Load (0.7ms)   SELECT id, name, is_public FROM `queries` WHERE (1=1 AND (is_public = 1 OR user_id = 4) AND (project_id IS NULL OR project_id = 5)) ORDER BY name ASC
  28. Rendered issues/_sidebar (8.2ms)
  29.   UserPreference Load (0.4ms)   SELECT * FROM `user_preferences` WHERE (`user_preferences`.user_id = 4) LIMIT 1
  30.   Member Load Including Associations (2.6ms)   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, `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, `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 FROM `members` LEFT OUTER JOIN `projects` ON `projects`.id = `members`.project_id LEFT OUTER JOIN `member_roles` ON (`members`.`id` = `member_roles`.`member_id`) LEFT OUTER JOIN `roles` ON (`roles`.`id` = `member_roles`.`role_id`) WHERE (`members`.user_id = 4 AND (projects.status=1)) ORDER BY projects.name
  31.   SQL (0.8ms)   SELECT count(DISTINCT `versions`.id) AS count_all FROM `versions` LEFT OUTER JOIN `projects` ON `projects`.id = `versions`.project_id WHERE (projects.id = 5 OR (projects.status = 1 AND ( versions.sharing = 'system' OR (projects.lft >= 7 AND projects.rgt <= 8 AND versions.sharing = 'tree') OR (projects.lft < 7 AND projects.rgt > 8 AND versions.sharing IN ('hierarchy', 'descendants')) OR (projects.lft > 7 AND projects.rgt < 8 AND versions.sharing = 'hierarchy'))))
  32.   Wiki Load (0.4ms)   SELECT * FROM `wikis` WHERE (`wikis`.project_id = 5) LIMIT 1
  33.   SQL (0.4ms)   SELECT count(*) AS count_all FROM `boards` WHERE (`boards`.project_id = 5)
  34.   Repository Load (0.4ms)   SELECT * FROM `repositories` WHERE (`repositories`.project_id = 5) LIMIT 1
  35. Completed in 328ms (View: 258, DB: 25) | 200 OK [https://redmine/projects/desktopissues/issues]
RAW Paste Data