tide / redmine_menu_links Goto Github PK
View Code? Open in Web Editor NEWA plugin which adds links to the top menu of Redmine.
License: Other
A plugin which adds links to the top menu of Redmine.
License: Other
I have run the migration successfully, but the system 500's when I click the Menu Link item under Administration. I am running 2.2.3.stable but am considering upgrading to latest.
Can you tell me if there's an easy fix for this, and/or if it's a version issue and upgrading will fix it? Thanks.
I used redmine 2.3.3 and found it couldnot support multiple language?
Could add the feature?
Thanks.
Processing MenuLinksController#index (for 143.54.13.224 at 2010-04-12 14:07:36) [GET]
Parameters: {"action"=>"index", "controller"=>"menu_links"}
Rendering template within layouts/base
Rendering menu_links/index
ActionView::TemplateError (undefined method `checked_image' for #ActionView::Base:0xb6de0e98) on line #18 of vendor/plugins/redmine_menu_links/app/views/menu_links/index.html.erb:
15: <% for link in @menu_links %>
16: <tr class="<%= cycle("odd", "even") %>">
17: <%= link_to link.name, :action => 'edit', :id => link %>
18: <%= checked_image link.is_enabled %>
19: <%= reorder_links('menu_link', {:action => 'update', :id => link}) %>
20:
21: <%= link_to(l(:button_delete), { :action => 'destroy', :id => link },
vendor/plugins/redmine_menu_links/app/views/menu_links/index.html.erb:18
vendor/plugins/redmine_menu_links/app/views/menu_links/index.html.erb:15:in `each'
vendor/plugins/redmine_menu_links/app/views/menu_links/index.html.erb:15
passenger (2.2.5) lib/phusion_passenger/rack/request_handler.rb:95:in `process_request'
passenger (2.2.5) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:378:in `start_request_handler'
passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:336:in `handle_spawn_application'
passenger (2.2.5) lib/phusion_passenger/utils.rb:183:in `safe_fork'
passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:334:in `handle_spawn_application'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:163:in `start'
passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:213:in `start'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
Rendering /home/gneuro/public_html/labs/public/500.html (500 Internal Server Error)
Because of the following line on the init.rb of the plugin:
MenuLink.show
The following error appear when trying to migrate_plugins:
(in /home/gneuro/public_html/labs)
** Invoke db:migrate_plugins (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Mysql::Error: Table 'gneuro_redmine.menu_links' doesn't exist: SELECT * FROM menu_links
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:219:in log' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:323:in
execute'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:608:in select' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in
select_all_without_query_cache'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:62:in select_all' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:661:in
find_by_sql'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:1548:in find_every' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:615:in
find'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:635:in all' /home/gneuro/public_html/labs/vendor/plugins/redmine_menu_links/app/models/menu_link.rb:21:in
each_enabled_link'
/home/gneuro/public_html/labs/vendor/plugins/redmine_menu_links/app/models/menu_link.rb:33:in show' /home/gneuro/public_html/labs/vendor/plugins/redmine_menu_links/init.rb:15:in
evaluate_init_rb'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:158:in evaluate_init_rb' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/reporting.rb:11:in
silence_warnings'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:154:in `evaluate_init_rb'
Commenting the line, i could migrate_plugins. But, i think that you must find a better way to do that.
Thanks
For example, /redmine/projects/some-project/wiki is not be acceptable.
Hello,
I tried to install this plugin for Redmine 2.3.1 and received the message below after using rake redmine:plugins:migrate RAIL_ENV=production
rake aborted!
uninitialized constant RAILS_DEFAULT_LOGGER
Could this be fixed so that the plugin works with Redmine 2.3.1?
I just tried to upgrade our redmine instance from 2.3.x to 2.4.x and noticed the plugin not working correctly anymore. I observed the following things:
Can I add more links? If yes, how? Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.