Code Monkey home page Code Monkey logo

redmine_home_page_redirector's People

Contributors

jmlagace avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

redmine_home_page_redirector's Issues

not compatible with redmine 4

Hi,
this plugin breaks on redmine 4:

rake aborted!
NoMethodError: undefined method `alias_method_chain' for WelcomeController:Class
Did you mean?  alias_method
plugins/redmine_home_page_redirector/lib/home_page_redirector.rb:13:in `block in included'
plugins/redmine_home_page_redirector/lib/home_page_redirector.rb:4:in `class_eval'
plugins/redmine_home_page_redirector/lib/home_page_redirector.rb:4:in `included'
plugins/redmine_home_page_redirector/init.rb:21:in `include'
plugins/redmine_home_page_redirector/init.rb:21:in `block (2 levels) in <top (required)>'
vendor/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:426:in `instance_exec'
/srv/unfreeze/redmine/vendor/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:426:in `block in make_lambda'
vendor/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
vendor/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:606:in `block (2 levels) in default_terminator'
vendor/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:605:in `catch'
vendor/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:605:in `block in default_terminator'
vendor/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:199:in `block in halting'
vendor/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:in `block in invoke_before'
vendor/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:in `each'
vendor/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:in `invoke_before'
vendor/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:131:in `run_callbacks'
vendor/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/reloader.rb:89:in `prepare!'
vendor/ruby/2.3.0/gems/railties-5.2.2/lib/rails/application/finisher.rb:63:in `block in <module:Finisher>'
vendor/ruby/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in `instance_exec'
vendor/ruby/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in `run'
vendor/ruby/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:61:in `block in run_initializers'
vendor/ruby/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:60:in `run_initializers'
vendor/ruby/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:361:in `initialize!'
config/environment.rb:14:in `<top (required)>'
vendor/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
vendor/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
vendor/ruby/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:337:in `require_environment!'
vendor/ruby/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:520:in `block in run_tasks_blocks'
vendor/ruby/2.3.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
Tasks: TOP => redmine:plugins:migrate => environment

could you spare some time to fix it?

Plugin broken on Redmine v5

There doesn't seem to be a specific error message outlining the issue to diagnose this?
Let me know if I can provide any further information to assist with this

Output from bundle exec rake redmine:plugins:

rake aborted!
LoadError: cannot load such file -- home_page_redirector
C:/redmine-5.0.3/plugins/redmine_home_page_redirector/init.rb:9:in `block in <top (required)>'
C:/redmine-5.0.3/lib/redmine/plugin.rb:96:in `instance_eval'
C:/redmine-5.0.3/lib/redmine/plugin.rb:96:in `register'
C:/redmine-5.0.3/plugins/redmine_home_page_redirector/init.rb:1:in `<top (required)>'
C:/redmine-5.0.3/lib/redmine/plugin_loader.rb:31:in `load'
C:/redmine-5.0.3/lib/redmine/plugin_loader.rb:31:in `run_initializer'
C:/redmine-5.0.3/lib/redmine/plugin_loader.rb:108:in `each'
C:/redmine-5.0.3/lib/redmine/plugin_loader.rb:108:in `block in load'
C:/redmine-5.0.3/config/environment.rb:16:in `<top (required)>'
C:/redmine-5.0.3/lib/tasks/redmine.rake:73:in `block (2 levels) in <top (required)>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

Output from running webserver:

C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require': cannot load such file -- home_page_redirector (LoadError)
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/dependencies/zeitwerk_integration.rb:51:in `require_dependency'
	from C:/redmine-5.0.3/plugins/redmine_home_page_redirector/init.rb:9:in `block in <top (required)>'
	from C:/redmine-5.0.3/lib/redmine/plugin.rb:96:in `instance_eval'
	from C:/redmine-5.0.3/lib/redmine/plugin.rb:96:in `register'
	from C:/redmine-5.0.3/plugins/redmine_home_page_redirector/init.rb:1:in `<top (required)>'
	from C:/redmine-5.0.3/lib/redmine/plugin_loader.rb:31:in `load'
	from C:/redmine-5.0.3/lib/redmine/plugin_loader.rb:31:in `run_initializer'
	from C:/redmine-5.0.3/lib/redmine/plugin_loader.rb:108:in `each'
	from C:/redmine-5.0.3/lib/redmine/plugin_loader.rb:108:in `block in load'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:427:in `instance_exec'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:427:in `block in make_lambda'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:603:in `catch'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:603:in `block in default_terminator'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:199:in `block in halting'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:512:in `block in invoke_before'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:512:in `each'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:512:in `invoke_before'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:105:in `run_callbacks'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/reloader.rb:88:in `prepare!'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-6.1.7/lib/rails/application/finisher.rb:124:in `block in <module:Finisher>'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-6.1.7/lib/rails/initializable.rb:32:in `instance_exec'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-6.1.7/lib/rails/initializable.rb:32:in `run'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-6.1.7/lib/rails/initializable.rb:61:in `block in run_initializers'
	from C:/Ruby31-x64/lib/ruby/3.1.0/tsort.rb:228:in `block in tsort_each'
	from C:/Ruby31-x64/lib/ruby/3.1.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
	from C:/Ruby31-x64/lib/ruby/3.1.0/tsort.rb:431:in `each_strongly_connected_component_from'
	from C:/Ruby31-x64/lib/ruby/3.1.0/tsort.rb:349:in `block in each_strongly_connected_component'
	from C:/Ruby31-x64/lib/ruby/3.1.0/tsort.rb:347:in `each'
	from C:/Ruby31-x64/lib/ruby/3.1.0/tsort.rb:347:in `call'
	from C:/Ruby31-x64/lib/ruby/3.1.0/tsort.rb:347:in `each_strongly_connected_component'
	from C:/Ruby31-x64/lib/ruby/3.1.0/tsort.rb:226:in `tsort_each'
	from C:/Ruby31-x64/lib/ruby/3.1.0/tsort.rb:205:in `tsort_each'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-6.1.7/lib/rails/initializable.rb:60:in `run_initializers'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-6.1.7/lib/rails/application.rb:391:in `initialize!'
	from C:/redmine-5.0.3/config/environment.rb:16:in `<top (required)>'
	from <internal:C:/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:C:/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from config.ru:3:in `block in <main>'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rack-2.2.4/lib/rack/builder.rb:116:in `eval'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rack-2.2.4/lib/rack/builder.rb:116:in `new_from_string'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rack-2.2.4/lib/rack/builder.rb:105:in `load_file'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rack-2.2.4/lib/rack/builder.rb:66:in `parse_file'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/puma-6.0.0/lib/puma/configuration.rb:364:in `load_rackup'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/puma-6.0.0/lib/puma/configuration.rb:286:in `app'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/puma-6.0.0/lib/puma/runner.rb:158:in `load_and_bind'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/puma-6.0.0/lib/puma/single.rb:44:in `run'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/puma-6.0.0/lib/puma/launcher.rb:186:in `run'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/puma-6.0.0/lib/puma/cli.rb:75:in `run'
	from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/puma-6.0.0/bin/puma:10:in `<top (required)>'
	from C:/Ruby31-x64/bin/puma:32:in `load'
	from C:/Ruby31-x64/bin/puma:32:in `<main>'

system information:

Environment:
  Redmine version                5.0.3.stable
  Ruby version                   3.1.2-p20 (2022-04-12) [x64-mingw-ucrt]
  Rails version                  6.1.7
  Environment                    production
  Database adapter               SQLServer
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
Redmine settings:
  Redmine theme                  Default
SCM:
  Filesystem                     
Redmine plugins:
  redmine_agile                  1.6.4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.