Connecting to database specified by database.yml Connecting to database specified by database.yml Creating scope :system. Overwriting existing method Enumeration.system. Creating scope :sorted. Overwriting existing method User.sorted. Creating scope :sorted. Overwriting existing method Group.sorted. Creating scope :system. Overwriting existing method Enumeration.system. Creating scope :sorted. Overwriting existing method User.sorted. Creating scope :sorted. Overwriting existing method Group.sorted. Started GET "/redmine/projects/chinastockreceiver" for 127.0.0.1 at 2019-12-27 19:50:47 +0800 Processing by ProjectsController#show as HTML Parameters: {"id"=>"chinastockreceiver"} Current user: xuxf (id=17) Rendered projects/_members_box.html.erb (15.6ms) Rendered projects/_sidebar.html.erb (0.0ms) Rendered projects/show.html.erb within layouts/base (234.4ms) Completed 200 OK in 2046.9ms (Views: 562.5ms | ActiveRecord: 515.4ms) Started GET "/redmine/projects/chinastockreceiver/documents" for 127.0.0.1 at 2019-12-27 19:50:51 +0800 Processing by DocumentsController#index as HTML Parameters: {"project_id"=>"chinastockreceiver"} Current user: xuxf (id=17) Rendered attachments/_form.html.erb (109.4ms) Rendered documents/_form.html.erb (125.0ms) Rendered documents/index.html.erb within layouts/base (234.4ms) Completed 500 Internal Server Error in 1234.0ms ActionView::Template::Error (undefined method `position' for nil:NilClass): 18: 19: <% if @grouped.empty? %>

<%= l(:label_no_data) %>

<% end %> 20: 21: <% @grouped.keys.sort.each do |group| %> 22:

<%= group %>

23: <%= render :partial => 'documents/document', :collection => @grouped[group] %> 24: <% end %> app/models/enumeration.rb:93:in `<=>' app/views/documents/index.html.erb:21:in `sort' app/views/documents/index.html.erb:21:in `_app_views_documents_index_html_erb__107423285_27756576' Started GET "/redmine/projects/chinastockreceiver/documents" for 127.0.0.1 at 2019-12-27 19:50:56 +0800 Processing by DocumentsController#index as HTML Parameters: {"project_id"=>"chinastockreceiver"} Current user: xuxf (id=17) Rendered attachments/_form.html.erb (78.1ms) Rendered documents/_form.html.erb (93.7ms) Rendered documents/index.html.erb within layouts/base (93.7ms) Completed 500 Internal Server Error in 234.3ms ActionView::Template::Error (undefined method `position' for nil:NilClass): 18: 19: <% if @grouped.empty? %>

<%= l(:label_no_data) %>

<% end %> 20: 21: <% @grouped.keys.sort.each do |group| %> 22:

<%= group %>

23: <%= render :partial => 'documents/document', :collection => @grouped[group] %> 24: <% end %> app/models/enumeration.rb:93:in `<=>' app/views/documents/index.html.erb:21:in `sort' app/views/documents/index.html.erb:21:in `_app_views_documents_index_html_erb___348964628_58958940' Started GET "/redmine/projects/chinastockreceiver/issues" for 127.0.0.1 at 2019-12-27 19:53:40 +0800 Processing by IssuesController#index as HTML Parameters: {"project_id"=>"chinastockreceiver"} Current user: xuxf (id=17) Rendered queries/_filters.html.erb (156.2ms) Rendered queries/_columns.html.erb (15.6ms) Rendered issues/_list.html.erb (46.9ms) Started GET "/redmine/projects" for 127.0.0.1 at 2019-12-27 19:53:41 +0800 Processing by ProjectsController#index as HTML Current user: xuxf (id=17) Rendered issues/_sidebar.html.erb (46.9ms) Rendered issues/index.html.erb within layouts/base (375.0ms) Completed 200 OK in 1593.7ms (Views: 593.9ms | ActiveRecord: 309.9ms) Rendered projects/index.html.erb within layouts/base (703.0ms) Completed 200 OK in 1124.9ms (Views: 796.6ms | ActiveRecord: 46.9ms) Started GET "/redmine/projects/redmine" for 127.0.0.1 at 2019-12-27 19:53:56 +0800 Processing by ProjectsController#show as HTML Parameters: {"id"=>"redmine"} Current user: xuxf (id=17) Rendered projects/_members_box.html.erb (15.6ms) Rendered projects/_sidebar.html.erb (0.0ms) Rendered projects/show.html.erb within layouts/base (31.3ms) Completed 200 OK in 890.6ms (Views: 359.3ms | ActiveRecord: 282.0ms) Started GET "/redmine/projects/redmine/issues/new" for 127.0.0.1 at 2019-12-27 19:53:59 +0800 Processing by IssuesController#new as HTML Parameters: {"project_id"=>"redmine"} Current user: xuxf (id=17) Rendered issues/_form_custom_fields.html.erb (125.0ms) Rendered issues/_attributes.html.erb (328.1ms) Rendered issues/_form.html.erb (359.4ms) Rendered attachments/_form.html.erb (0.0ms) Rendered issues/new.html.erb within layouts/base (390.6ms) Completed 200 OK in 1406.2ms (Views: 844.1ms | ActiveRecord: 343.2ms) Started POST "/redmine/projects/redmine/issues/update_form.js" for 127.0.0.1 at 2019-12-27 20:06:00 +0800 Processing by IssuesController#update_form as JS Parameters: {"utf8"=>"✓", "authenticity_token"=>"OWyRkPrqGea5N/mOboUuJ9u5Kuq+Ml1M8oeFRq0+cXs=", "issue"=>{"is_private"=>"0", "tracker_id"=>"2", "subject"=>"redmine document and settings 不能显示问题", "description"=>"问题:\r\n1.在redmine某项目下点击配置后,页面无法显示,出现内部错误\r\n2.在redmine某项目下点击文档后,页面无法显示,出现内部错误\r\n\r\n经过调查研究,过程如下:\r\n1.配置无法显示问题应该是repositories表中存在一些无意义的数据,应该由于环境变迁,有些链接已没有了实际的地址\r\n2.文档无法显示问题应该是document表中category_id的意义发生变化造成文档打不开,具体应该是redmine版本升级所带来的问题\r\n\r\n问题日志:\r\nActionView::Template::Error (undefined method `name' for nil:NilClass):\r\nActionView::Template::Error (comparison of NilClass with DocumentCategory failed):\r\nActionView::Template::Error (undefined method `position' for nil:NilClass):\r\n\r\nActionView::Template::Error (The single-table inheritance mechanism failed to locate the subclass: 'Subversion'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Repository.inheritance_column to use another column for that information.):\r\n\r\n", "status_id"=>"2", "priority_id"=>"2", "assigned_to_id"=>"17", "parent_issue_id"=>"", "start_date"=>"2019-12-27", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"90"}, "project_id"=>"redmine"} Current user: xuxf (id=17) Rendered issues/_form_custom_fields.html.erb (31.3ms) Rendered issues/_attributes.html.erb (78.2ms) Rendered issues/_form.html.erb (93.8ms) Rendered issues/update_form.js.erb (93.8ms) Completed 200 OK in 531.4ms (Views: 109.4ms | ActiveRecord: 171.9ms) Started POST "/redmine/projects/redmine/issues" for 127.0.0.1 at 2019-12-27 20:06:09 +0800 Processing by IssuesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"OWyRkPrqGea5N/mOboUuJ9u5Kuq+Ml1M8oeFRq0+cXs=", "issue"=>{"is_private"=>"0", "tracker_id"=>"2", "subject"=>"redmine document and settings 不能显示问题", "description"=>"问题:\r\n1.在redmine某项目下点击配置后,页面无法显示,出现内部错误\r\n2.在redmine某项目下点击文档后,页面无法显示,出现内部错误\r\n\r\n经过调查研究,过程如下:\r\n1.配置无法显示问题应该是repositories表中存在一些无意义的数据,应该由于环境变迁,有些链接已没有了实际的地址\r\n2.文档无法显示问题应该是document表中category_id的意义发生变化造成文档打不开,具体应该是redmine版本升级所带来的问题\r\n\r\n问题日志:\r\nActionView::Template::Error (undefined method `name' for nil:NilClass):\r\nActionView::Template::Error (comparison of NilClass with DocumentCategory failed):\r\nActionView::Template::Error (undefined method `position' for nil:NilClass):\r\n\r\nActionView::Template::Error (The single-table inheritance mechanism failed to locate the subclass: 'Subversion'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Repository.inheritance_column to use another column for that information.):\r\n\r\n", "status_id"=>"2", "priority_id"=>"2", "assigned_to_id"=>"17", "parent_issue_id"=>"", "start_date"=>"2019-12-27", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"90"}, "continue"=>"创建并继续", "project_id"=>"redmine"} Current user: xuxf (id=17) Rendered mailer/_issue.text.erb (15.6ms) Rendered mailer/issue_add.text.erb within layouts/mailer (15.6ms) Rendered mailer/_issue.html.erb (0.0ms) Rendered mailer/issue_add.html.erb within layouts/mailer (15.6ms) Redirected to http://58.32.9.242:10080/redmine/projects/redmine/issues/new?issue%5Btracker_id%5D=2 Completed 302 Found in 765.3ms (ActiveRecord: 234.2ms) Started GET "/redmine/projects/redmine/issues/new?issue%5Btracker_id%5D=2" for 127.0.0.1 at 2019-12-27 20:06:10 +0800 Processing by IssuesController#new as HTML Parameters: {"issue"=>{"tracker_id"=>"2"}, "project_id"=>"redmine"} Current user: xuxf (id=17) Rendered issues/_form_custom_fields.html.erb (15.6ms) Rendered issues/_attributes.html.erb (203.0ms) Rendered issues/_form.html.erb (218.6ms) Rendered attachments/_form.html.erb (0.0ms) Rendered issues/new.html.erb within layouts/base (234.3ms) Completed 200 OK in 718.4ms (Views: 484.2ms | ActiveRecord: 171.7ms) Started GET "/redmine/projects/redmine/settings" for 127.0.0.1 at 2019-12-27 20:06:13 +0800 Processing by ProjectsController#settings as HTML Parameters: {"id"=>"redmine"} Current user: xuxf (id=17) Rendered projects/_form.html.erb (343.6ms) Rendered projects/_edit.html.erb (374.8ms) Rendered projects/settings/_modules.html.erb (15.6ms) Rendered projects/settings/_members.html.erb (296.8ms) Rendered projects/settings/_versions.html.erb (15.6ms) Rendered projects/settings/_issue_categories.html.erb (0.0ms) Rendered projects/settings/_wiki.html.erb (15.6ms) Rendered projects/settings/_repositories.html.erb (15.6ms) Rendered projects/settings/_boards.html.erb (0.0ms) Rendered projects/settings/_activities.html.erb (46.9ms) Rendered common/_tabs.html.erb (812.2ms) Rendered projects/settings.html.erb within layouts/base (827.8ms) Completed 200 OK in 1015.3ms (Views: 937.2ms | ActiveRecord: 31.2ms) Started GET "/redmine/projects/redmine" for 127.0.0.1 at 2019-12-27 20:06:30 +0800 Processing by ProjectsController#show as HTML Parameters: {"id"=>"redmine"} Current user: xuxf (id=17) Rendered projects/_members_box.html.erb (15.6ms) Rendered projects/_sidebar.html.erb (0.0ms) Rendered projects/show.html.erb within layouts/base (31.2ms) Completed 200 OK in 656.5ms (Views: 359.5ms | ActiveRecord: 78.1ms) Started GET "/redmine/projects/redmine/issues/new" for 127.0.0.1 at 2019-12-27 20:06:31 +0800 Processing by IssuesController#new as HTML Parameters: {"project_id"=>"redmine"} Current user: xuxf (id=17) Rendered issues/_form_custom_fields.html.erb (0.0ms) Rendered issues/_attributes.html.erb (171.9ms) Rendered issues/_form.html.erb (218.8ms) Rendered attachments/_form.html.erb (0.0ms) Rendered issues/new.html.erb within layouts/base (234.5ms) Started GET "/redmine/projects/redmine/issues" for 127.0.0.1 at 2019-12-27 20:06:32 +0800 Processing by IssuesController#index as HTML Parameters: {"project_id"=>"redmine"} Current user: xuxf (id=17) Completed 200 OK in 812.8ms (Views: 609.5ms | ActiveRecord: 93.8ms) Rendered queries/_filters.html.erb (109.3ms) Rendered queries/_columns.html.erb (0.0ms) Rendered issues/_list.html.erb (15.6ms) Rendered issues/_sidebar.html.erb (15.7ms) Rendered issues/index.html.erb within layouts/base (171.9ms) Completed 200 OK in 703.3ms (Views: 296.7ms | ActiveRecord: 109.5ms) Started GET "/redmine/issues/2131" for 127.0.0.1 at 2019-12-27 20:06:48 +0800 Processing by IssuesController#show as HTML Parameters: {"id"=>"2131"} Current user: xuxf (id=17) Rendered issues/_action_menu.html.erb (31.3ms) Rendered issue_relations/_form.html.erb (93.8ms) Rendered issues/_relations.html.erb (109.4ms) Rendered issues/_action_menu.html.erb (0.0ms) Rendered issues/_form_custom_fields.html.erb (0.0ms) Rendered issues/_attributes.html.erb (218.8ms) Rendered issues/_form.html.erb (265.7ms) Rendered attachments/_form.html.erb (0.0ms) Rendered issues/_edit.html.erb (312.5ms) Rendered issues/_sidebar.html.erb (31.2ms) Rendered watchers/_watchers.html.erb (15.6ms) Rendered issues/show.html.erb within layouts/base (624.9ms) Completed 200 OK in 1437.6ms (Views: 609.4ms | ActiveRecord: 343.8ms) Started PUT "/redmine/issues/2131" for 127.0.0.1 at 2019-12-27 20:07:09 +0800 Processing by IssuesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"OWyRkPrqGea5N/mOboUuJ9u5Kuq+Ml1M8oeFRq0+cXs=", "issue"=>{"is_private"=>"0", "project_id"=>"237", "tracker_id"=>"2", "subject"=>"redmine document and settings 不能显示问题", "description"=>"问题:\r\n1.在redmine某项目下点击配置后,页面无法显示,出现内部错误\r\n2.在redmine某项目下点击文档后,页面无法显示,出现内部错误\r\n\r\n经过调查研究,过程如下:\r\n1.配置无法显示问题应该是repositories表中存在一些无意义的数据,应该由于环境变迁,有些链接已没有了实际的地址\r\n2.文档无法显示问题应该是document表中category_id的意义发生变化造成文档打不开,具体应该是redmine版本升级所带来的问题\r\n\r\n问题日志:\r\nActionView::Template::Error (undefined method `name' for nil:NilClass):\r\nActionView::Template::Error (comparison of NilClass with DocumentCategory failed):\r\nActionView::Template::Error (undefined method `position' for nil:NilClass):\r\n\r\nActionView::Template::Error (The single-table inheritance mechanism failed to locate the subclass: 'Subversion'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Repository.inheritance_column to use another column for that information.):\r\n\r\n", "status_id"=>"2", "priority_id"=>"2", "assigned_to_id"=>"17", "parent_issue_id"=>"", "start_date"=>"2019-12-27", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"90", "notes"=>"本条错误还是分析中\r\nActionView::Template::Error (undefined method `position' for nil:NilClass):", "private_notes"=>"0", "lock_version"=>"0"}, "time_entry"=>{"hours"=>"", "activity_id"=>"", "comments"=>""}, "last_journal_id"=>"", "commit"=>"提交", "id"=>"2131"} Current user: xuxf (id=17) Rendered mailer/_issue.text.erb (15.7ms) Rendered mailer/issue_edit.text.erb within layouts/mailer (15.7ms) Rendered mailer/_issue.html.erb (0.0ms) Rendered mailer/issue_edit.html.erb within layouts/mailer (15.7ms) Redirected to http://58.32.9.242:10080/redmine/issues/2131 Completed 302 Found in 1003.0ms (ActiveRecord: 219.4ms) Started GET "/redmine/issues/2131" for 127.0.0.1 at 2019-12-27 20:07:10 +0800 Processing by IssuesController#show as HTML Parameters: {"id"=>"2131"} Current user: xuxf (id=17) Rendered issues/_action_menu.html.erb (15.7ms) Rendered issue_relations/_form.html.erb (0.0ms) Rendered issues/_relations.html.erb (15.7ms) Rendered issues/_history.html.erb (47.0ms) Rendered issues/_action_menu.html.erb (15.7ms) Rendered issues/_form_custom_fields.html.erb (0.0ms) Rendered issues/_attributes.html.erb (203.7ms) Rendered issues/_form.html.erb (282.0ms) Rendered attachments/_form.html.erb (0.0ms) Rendered issues/_edit.html.erb (329.0ms) Rendered issues/_sidebar.html.erb (15.7ms) Rendered watchers/_watchers.html.erb (0.0ms) Rendered issues/show.html.erb within layouts/base (517.0ms) Completed 200 OK in 1065.4ms (Views: 485.7ms | ActiveRecord: 266.3ms) Started GET "/redmine/projects" for 127.0.0.1 at 2019-12-27 20:07:45 +0800 Processing by ProjectsController#index as HTML Current user: xuxf (id=17) Rendered projects/index.html.erb within layouts/base (625.2ms) Completed 200 OK in 984.4ms (Views: 672.0ms | ActiveRecord: 93.7ms) Started GET "/redmine/projects/chinastockreceiver" for 127.0.0.1 at 2019-12-27 20:07:51 +0800 Processing by ProjectsController#show as HTML Parameters: {"id"=>"chinastockreceiver"} Current user: xuxf (id=17) Rendered projects/_members_box.html.erb (0.0ms) Rendered projects/_sidebar.html.erb (0.0ms) Rendered projects/show.html.erb within layouts/base (15.6ms) Completed 200 OK in 421.8ms (Views: 218.8ms | ActiveRecord: 31.2ms) Started GET "/redmine/projects/chinastockreceiver/documents" for 127.0.0.1 at 2019-12-27 20:07:53 +0800 Processing by DocumentsController#index as HTML Parameters: {"project_id"=>"chinastockreceiver"} Current user: xuxf (id=17) Rendered attachments/_form.html.erb (15.6ms) Rendered documents/_form.html.erb (31.3ms) Rendered documents/index.html.erb within layouts/base (31.3ms) Completed 500 Internal Server Error in 109.4ms ActionView::Template::Error (undefined method `position' for nil:NilClass): 18: 19: <% if @grouped.empty? %>

<%= l(:label_no_data) %>

<% end %> 20: 21: <% @grouped.keys.sort.each do |group| %> 22:

<%= group %>

23: <%= render :partial => 'documents/document', :collection => @grouped[group] %> 24: <% end %> app/models/enumeration.rb:93:in `<=>' app/views/documents/index.html.erb:21:in `sort' app/views/documents/index.html.erb:21:in `_app_views_documents_index_html_erb__107423285_27756576' Started GET "/redmine/projects" for 127.0.0.1 at 2019-12-27 20:08:14 +0800 Processing by ProjectsController#index as HTML Current user: xuxf (id=17) Rendered projects/index.html.erb within layouts/base (687.5ms) Completed 200 OK in 953.1ms (Views: 765.7ms | ActiveRecord: 31.2ms) Started GET "/redmine/projects/pairtrade" for 127.0.0.1 at 2019-12-27 20:08:33 +0800 Processing by ProjectsController#show as HTML Parameters: {"id"=>"pairtrade"} Current user: xuxf (id=17) Rendered projects/_members_box.html.erb (0.0ms) Rendered projects/_sidebar.html.erb (0.0ms) Rendered projects/show.html.erb within layouts/base (15.6ms) Completed 200 OK in 499.7ms (Views: 281.1ms | ActiveRecord: 46.9ms) Started GET "/redmine/projects/pairtrade/documents" for 127.0.0.1 at 2019-12-27 20:08:35 +0800 Processing by DocumentsController#index as HTML Parameters: {"project_id"=>"pairtrade"} Current user: xuxf (id=17) Rendered attachments/_form.html.erb (15.5ms) Rendered documents/_form.html.erb (46.9ms) Rendered documents/index.html.erb within layouts/base (46.9ms) Completed 200 OK in 374.9ms (Views: 296.8ms | ActiveRecord: 62.5ms) Started GET "/redmine/projects" for 127.0.0.1 at 2019-12-27 20:08:38 +0800 Processing by ProjectsController#index as HTML Current user: xuxf (id=17) Rendered projects/index.html.erb within layouts/base (765.6ms) Completed 200 OK in 1031.0ms (Views: 843.6ms | ActiveRecord: 46.9ms) Started GET "/redmine/projects/tradingrecord-db" for 127.0.0.1 at 2019-12-27 20:08:45 +0800 Processing by ProjectsController#show as HTML Parameters: {"id"=>"tradingrecord-db"} Current user: xuxf (id=17) Rendered projects/_members_box.html.erb (0.0ms) Rendered projects/_sidebar.html.erb (0.0ms) Rendered projects/show.html.erb within layouts/base (15.6ms) Completed 200 OK in 390.5ms (Views: 203.0ms | ActiveRecord: 47.0ms) Started GET "/redmine/projects/tradingrecord-db/documents" for 127.0.0.1 at 2019-12-27 20:08:47 +0800 Processing by DocumentsController#index as HTML Parameters: {"project_id"=>"tradingrecord-db"} Current user: xuxf (id=17) Rendered attachments/_form.html.erb (15.7ms) Rendered documents/_form.html.erb (15.7ms) Rendered documents/index.html.erb within layouts/base (31.3ms) Completed 200 OK in 359.2ms (Views: 296.9ms | ActiveRecord: 31.2ms) Started GET "/redmine/projects/tradingrecord-db" for 127.0.0.1 at 2019-12-27 20:08:52 +0800 Processing by ProjectsController#show as HTML Parameters: {"id"=>"tradingrecord-db"} Current user: xuxf (id=17) Rendered projects/_members_box.html.erb (15.7ms) Rendered projects/_sidebar.html.erb (0.0ms) Rendered projects/show.html.erb within layouts/base (15.7ms) Completed 200 OK in 578.1ms (Views: 296.9ms | ActiveRecord: 62.5ms) Started GET "/redmine/projects/tradingrecord-db/documents" for 127.0.0.1 at 2019-12-27 20:08:54 +0800 Processing by DocumentsController#index as HTML Parameters: {"project_id"=>"tradingrecord-db"} Current user: xuxf (id=17) Rendered attachments/_form.html.erb (0.0ms) Rendered documents/_form.html.erb (15.6ms) Rendered documents/index.html.erb within layouts/base (31.2ms) Completed 200 OK in 312.5ms (Views: 218.8ms | ActiveRecord: 46.8ms) Started GET "/redmine/projects/pairtrading" for 127.0.0.1 at 2019-12-27 20:09:24 +0800 Processing by ProjectsController#show as HTML Parameters: {"id"=>"pairtrading"} Current user: xuxf (id=17) Rendered projects/_members_box.html.erb (0.0ms) Rendered projects/_sidebar.html.erb (0.0ms) Rendered projects/show.html.erb within layouts/base (15.6ms) Completed 200 OK in 484.6ms (Views: 218.9ms | ActiveRecord: 62.6ms) Started GET "/redmine/projects/pairtrading/documents" for 127.0.0.1 at 2019-12-27 20:09:26 +0800 Processing by DocumentsController#index as HTML Parameters: {"project_id"=>"pairtrading"} Current user: xuxf (id=17) Rendered attachments/_form.html.erb (15.7ms) Rendered documents/_form.html.erb (31.3ms) Rendered documents/_document.html.erb (31.2ms) Rendered documents/index.html.erb within layouts/base (93.8ms) Completed 200 OK in 875.4ms (Views: 750.4ms | ActiveRecord: 62.5ms) Started GET "/redmine/documents/20" for 127.0.0.1 at 2019-12-27 20:09:28 +0800 Processing by DocumentsController#show as HTML Parameters: {"id"=>"20"} Current user: xuxf (id=17) Rendered documents/show.html.erb within layouts/base (15.6ms) Completed 200 OK in 484.5ms (Views: 406.4ms | ActiveRecord: 62.5ms) Started GET "/redmine/projects" for 127.0.0.1 at 2019-12-27 20:12:24 +0800 Processing by ProjectsController#index as HTML Current user: xuxf (id=17) Rendered projects/index.html.erb within layouts/base (639.6ms) Completed 200 OK in 967.3ms (Views: 795.6ms | ActiveRecord: 15.6ms) Started GET "/redmine/projects/chinastockreceiver" for 127.0.0.1 at 2019-12-27 20:12:27 +0800 Processing by ProjectsController#show as HTML Parameters: {"id"=>"chinastockreceiver"} Current user: xuxf (id=17) Rendered projects/_members_box.html.erb (15.6ms) Rendered projects/_sidebar.html.erb (0.0ms) Rendered projects/show.html.erb within layouts/base (15.6ms) Completed 200 OK in 875.0ms (Views: 515.8ms | ActiveRecord: 125.2ms) Started GET "/redmine/projects/chinastockreceiver/documents" for 127.0.0.1 at 2019-12-27 20:12:30 +0800 Processing by DocumentsController#index as HTML Parameters: {"project_id"=>"chinastockreceiver"} Current user: xuxf (id=17) Rendered attachments/_form.html.erb (15.7ms) Rendered documents/_form.html.erb (31.3ms) Rendered documents/index.html.erb within layouts/base (31.3ms) Completed 500 Internal Server Error in 78.3ms ActionView::Template::Error (undefined method `position' for nil:NilClass): 18: 19: <% if @grouped.empty? %>

<%= l(:label_no_data) %>

<% end %> 20: 21: <% @grouped.keys.sort.each do |group| %> 22:

<%= group %>

23: <%= render :partial => 'documents/document', :collection => @grouped[group] %> 24: <% end %> app/models/enumeration.rb:93:in `<=>' app/views/documents/index.html.erb:21:in `sort' app/views/documents/index.html.erb:21:in `_app_views_documents_index_html_erb__107423285_27756576' Started GET "/redmine/projects/chinastockreceiver/news" for 127.0.0.1 at 2019-12-27 20:12:33 +0800 Processing by NewsController#index as HTML Parameters: {"project_id"=>"chinastockreceiver"} Current user: xuxf (id=17) Rendered attachments/_form.html.erb (0.0ms) Rendered news/_form.html.erb (15.7ms) Rendered news/index.html.erb within layouts/base (47.0ms) Completed 200 OK in 485.4ms (Views: 266.2ms | ActiveRecord: 62.6ms)