Project

General

Profile

Actions

Defect #15756

closed

500 on admin info/settings page on development environment

Added by Ilya S almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Affected version - 2.4.2.stable


Files

abstract_adapter.diff (984 Bytes) abstract_adapter.diff Ilya S, 2013-12-23 12:14

Related issues

Related to Redmine - Defect #15849: Redmine:Fetch_Changesets Single-inheritance issue in subclass "Repository:Git"Closed

Actions
Has duplicate Redmine - Defect #15824: CommandFailed not found in git_adapterClosed

Actions
Has duplicate Redmine - Defect #15981: Internal error. An error occurred on the page you were trying to access. If you continue to experience problems please contact your redMine administrator for assistance.Closed

Actions
Has duplicate Redmine - Defect #15949: uninitialized constant Redmine::Scm::Adapters::AbstractAdapter::CommandFailedClosed

Actions
Actions #1

Updated by Jean-Philippe Lang almost 11 years ago

  • Status changed from New to Needs feedback

Works for me. Could you post your error stack trace and give plugins details as requested in SubmittingBugs?

Actions #2

Updated by Ilya S almost 11 years ago

of course.

Redmine 2.4.2.stable, ruby 2.0.0-p247

=> Booting WEBrick
=> Rails 3.2.16 application starting in development on http://0.0.0.0:3002
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2013-12-23 17:21:43] INFO  WEBrick 1.3.1
[2013-12-23 17:21:43] INFO  ruby 2.0.0 (2013-06-27) [x86_64-darwin12.4.0]
[2013-12-23 17:21:43] INFO  WEBrick::HTTPServer#start: pid=22278 port=3002
Version: ImageMagick 6.8.6-3 2013-07-10 Q8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib freetype jng jpeg png x xml zlib

Started GET "/admin/info" for 127.0.0.1 at 2013-12-23 17:21:45 +0400
Processing by AdminController#info as HTML
  Setting Load (0.3ms)  SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'session_lifetime' LIMIT 1
  Setting Load (0.3ms)  SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'session_timeout' LIMIT 1
   (0.2ms)  SELECT MAX(`settings`.`updated_on`) AS max_id FROM `settings`
Creating scope :sorted. Overwriting existing method User.sorted.
  User Load (0.3ms)  SELECT `users`.* FROM `users` WHERE `users`.`type` IN ('User', 'AnonymousUser') AND `users`.`status` = 1 AND `users`.`id` = 1 LIMIT 1
  Current user: admin (id=1)
  User Load (0.4ms)  SELECT `users`.* FROM `users` WHERE `users`.`type` IN ('User', 'AnonymousUser') AND `users`.`status` = 1 AND `users`.`login` = 'admin'
  Setting Load (0.4ms)  SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'ui_theme' LIMIT 1
  Rendered admin/info.html.erb within layouts/admin (98.1ms)
Completed 500 Internal Server Error in 404.4ms

ActionView::Template::Error (uninitialized constant Redmine::Scm::Adapters::AbstractAdapter::CommandFailed):
    13: </table>
    14: <br />
    15: <div class="box">
    16: <pre><%= Redmine::Info.environment %></pre>
    17: </div>
    18:
    19: <% html_title(l(:label_information_plural)) -%>
  lib/redmine/scm/adapters/abstract_adapter.rb:30:in `<class:AbstractAdapter>'
  lib/redmine/scm/adapters/abstract_adapter.rb:27:in `<module:Adapters>'
  lib/redmine/scm/adapters/abstract_adapter.rb:26:in `<module:Scm>'
  lib/redmine/scm/adapters/abstract_adapter.rb:25:in `<module:Redmine>'
  lib/redmine/scm/adapters/abstract_adapter.rb:24:in `<top (required)>'
  lib/redmine/scm/adapters/subversion_adapter.rb:18:in `<top (required)>'
  app/models/repository/subversion.rb:18:in `<top (required)>'
  lib/redmine/info.rb:21:in `block in environment'
  lib/redmine/info.rb:20:in `each'
  lib/redmine/info.rb:20:in `environment'
  app/views/admin/info.html.erb:16:in `_app_views_admin_info_html_erb___1876466854815086755_70262766172320'
Actions #3

Updated by Ilya S almost 11 years ago

trace without applied fix. This is pure redmine, without any plugins (newly generated secret, added databse.yml and connected to my db)

Actions #4

Updated by Toshi MARUYAMA almost 11 years ago

  • Subject changed from 500 on admin info/settings page to 500 on admin info/settings page on development environment
  • Status changed from Needs feedback to Confirmed
Actions #5

Updated by Toshi MARUYAMA almost 11 years ago

  • Target version set to 2.4.3
Actions #6

Updated by Toshi MARUYAMA almost 11 years ago

  • Affected version (unused) changed from devel to 2.4.2
  • Affected version set to 2.4.2
Actions #7

Updated by Toshi MARUYAMA almost 11 years ago

  • Status changed from Confirmed to Closed
  • Resolution set to Fixed

Fixed in 2.4-stable r12458, thanks.

Actions #8

Updated by Toshi MARUYAMA almost 11 years ago

  • Has duplicate Defect #15824: CommandFailed not found in git_adapter added
Actions #9

Updated by Toshi MARUYAMA almost 11 years ago

  • Related to Defect #15949: uninitialized constant Redmine::Scm::Adapters::AbstractAdapter::CommandFailed added
Actions #10

Updated by Toshi MARUYAMA almost 11 years ago

  • Has duplicate Defect #15981: Internal error. An error occurred on the page you were trying to access. If you continue to experience problems please contact your redMine administrator for assistance. added
Actions #11

Updated by Toshi MARUYAMA almost 11 years ago

  • Related to Defect #15849: Redmine:Fetch_Changesets Single-inheritance issue in subclass "Repository:Git" added
Actions #12

Updated by Toshi MARUYAMA almost 11 years ago

  • Related to deleted (Defect #15949: uninitialized constant Redmine::Scm::Adapters::AbstractAdapter::CommandFailed)
Actions #13

Updated by Toshi MARUYAMA almost 11 years ago

  • Has duplicate Defect #15949: uninitialized constant Redmine::Scm::Adapters::AbstractAdapter::CommandFailed added
Actions

Also available in: Atom PDF