Project

General

Profile

Actions

Defect #15756

closed

500 on admin info/settings page on development environment

Defect #15756: 500 on admin info/settings page on development environment

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
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 4 (0 open — 4 closed)

Related to Redmine - Defect #15849: Redmine:Fetch_Changesets Single-inheritance issue in subclass "Repository:Git"ClosedActions
Has duplicate Redmine - Defect #15824: CommandFailed not found in git_adapterClosedActions
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.ClosedActions
Has duplicate Redmine - Defect #15949: uninitialized constant Redmine::Scm::Adapters::AbstractAdapter::CommandFailedClosedActions

Updated by Jean-Philippe Lang almost 13 years ago Actions #1

  • 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?

Updated by Ilya S almost 13 years ago Actions #2

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'

Updated by Ilya S almost 13 years ago Actions #3

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

Updated by Toshi MARUYAMA almost 13 years ago Actions #4

  • 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

Updated by Toshi MARUYAMA almost 13 years ago Actions #5

  • Target version set to 2.4.3

Updated by Toshi MARUYAMA almost 13 years ago Actions #6

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

Updated by Toshi MARUYAMA almost 13 years ago Actions #7

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

Fixed in 2.4-stable r12458, thanks.

Updated by Toshi MARUYAMA almost 13 years ago Actions #8

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

Updated by Toshi MARUYAMA almost 13 years ago Actions #9

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

Updated by Toshi MARUYAMA almost 13 years ago Actions #10

  • 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

Updated by Toshi MARUYAMA almost 13 years ago Actions #11

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

Updated by Toshi MARUYAMA almost 13 years ago Actions #12

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

Updated by Toshi MARUYAMA almost 13 years ago Actions #13

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

Also available in: PDF Atom