Project

General

Profile

Defect #10466 ยป log.txt

Sasha Harutyunyan, 2012-03-16 14:39

 
1

    
2
Processing SysController#projects to xml (for 127.0.0.1 at 2012-03-16 13:33:22) [GET] 
3
  Parameters: {"key"=>"MYKEYHERE"} 
4

    
5
ActiveRecord::StatementInvalid (Mysql::Error: Column 'identifier' in order clause is ambiguous: SELECT `projects`.`id` AS t0_r0, `projects`.`name` AS t0_r1, `projects`.`description` AS t0_r2, `projects`.`homepage` AS t0_r3, `projects`.`is_public` AS t0_r4, `projects`.`parent_id` AS t0_r5, `projects`.`created_on` AS t0_r6, `projects`.`updated_on` AS t0_r7, `projects`.`identifier` AS t0_r8, `projects`.`status` AS t0_r9, `projects`.`lft` AS t0_r10, `projects`.`rgt` AS t0_r11, `repositories`.`id` AS t1_r0, `repositories`.`project_id` AS t1_r1, `repositories`.`url` AS t1_r2, `repositories`.`login` AS t1_r3, `repositories`.`password` AS t1_r4, `repositories`.`root_url` AS t1_r5, `repositories`.`type` AS t1_r6, `repositories`.`path_encoding` AS t1_r7, `repositories`.`log_encoding` AS t1_r8, `repositories`.`extra_info` AS t1_r9, `repositories`.`identifier` AS t1_r10, `repositories`.`is_default` AS t1_r11, `repositories`.`checkout_settings` AS t1_r12 FROM `projects`  LEFT OUTER JOIN `repositories` ON repositories.project_id = projects.id WHERE ((projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='repository')) AND (projects.status = 1))  ORDER BY identifier): 
6
  app/models/project.rb:250:in `find' 
7
  app/controllers/sys_controller.rb:22:in `projects' 
8
  passenger (3.0.11) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' 
9
  passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' 
10
  passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' 
11
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' 
12
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' 
13
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' 
14
  passenger (3.0.11) lib/phusion_passenger/utils.rb:479:in `safe_fork' 
15
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' 
16
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__' 
17
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' 
18
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' 
19
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:180:in `start' 
20
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' 
21
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' 
22
  passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' 
23
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' 
24
  passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' 
25
  passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' 
26
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' 
27
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' 
28
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' 
29
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__' 
30
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' 
31
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' 
32
  passenger (3.0.11) helper-scripts/passenger-spawn-server:99 
33

    
34
Rendering rescues/layout (internal_server_error) 
35

    
36

    
37
Processing SysController#projects to xml (for 127.0.0.1 at 2012-03-16 13:34:02) [GET] 
38
  Parameters: {"key"=>"WFdW9C0PnLjT0g0rnnBN"} 
39
Filter chain halted as [:check_enabled] rendered_or_redirected. 
40
Completed in 1ms (View: 0, DB: 0) | 403 Forbidden [http://localhost/sys/projects.xml?key=MYKEYHERE] 
    (1-1/1)