I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Patch #1699

Change the Svn Class name to SvnConfig due to Class name clash with redmine-libsvn

Added by Benjamin Wong over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
29 Mar 2011
Due date:
29 Mar 2011
% Done:

100%

Redmine version:
External issue:

Description

Firstly thanks for your Great Work!.

When I use the redmine svn creator, I find that it will clash with my beloved redmine-libsvn plugin. I dig into the code and seems the class Svn class name is clashed. Seems in this project, the Svn Class isn’t used for “REAL” Svn and how about change the class name to SvnConfig? Please find my attached patch file.

*** Exception TypeError in PhusionPassenger::Railz::ApplicationSpawner (Svn is not a class) (process 23294):
        from /opt/redmine/vendor/plugins/redmine-svn/lib/svn.rb:1
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:265:in `require_or_load'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:224:in `depend_on'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:136:in `require_dependency'
        from /opt/redmine/vendor/plugins/redmine-svn/init.rb:4:in `evaluate_init_rb'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:158:in `evaluate_init_rb'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:154:in `evaluate_init_rb'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:48:in `load'
        from /opt/redmine/config/../vendor/plugins/engines/lib/engines/plugin.rb:44:in `load'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb:38:in `load_plugins'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb:37:in `each'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb:37:in `load_plugins'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:369:in `load_plugins'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:165:in `process'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `send'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run'
        from /opt/redmine/config/environment.rb:20

svnconfig.patch View (4.34 KB) Benjamin Wong, 29 Mar 2011 16:34

History

#1 Updated by Andriy Lesyuk over 13 years ago

  • Due date set to 29 Mar 2011
  • Status changed from New to Closed
  • Assignee set to Andriy Lesyuk
  • Target version set to 0.1.0
  • % Done changed from 0 to 100

Thank you Benjamin!
Included patch into SVN.

Also available in: Atom PDF

Terms of use | Privacy policy