zuinqstudio / redmine_chuck_norris Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Hi i have this problem:
Processing ProjectsController#show (for 186.30.231.XXX at 2011-08-24 11:32:23) [GET]
Parameters: {"action"=>"show", "id"=>"portalweb", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/show
ActionView::TemplateError (undefined method `description' for nil:NilClass) on line #21 of vendor/plugins/redmine_chuck_norris/app/views/chuck_norris/_fact.rhtml:
18:
19: <h3>Chuck Norris Fact</h3>
20: <div id="factWrapper">
21: <em id="fact"><%= ChuckNorrisHelper::load_random_fact(current_language).description %></em>
22: <%= link_to_remote l(:next_fact),
23: { :url => { :controller => 'chuck_norris', :action => 'next_fact', :project_id => @project },
24: :method => :post,
vendor/plugins/redmine_chuck_norris/app/views/chuck_norris/_fact.rhtml:21:in `_run_rhtml_vendor47plugins47redmine_chuck_norris47app47views47chuck_norris47_fact46rhtml_locals_fact_object'
vendor/plugins/redmine_chuck_norris/app/views/projects/show.rhtml:119
app/helpers/application_helper.rb:868:in `content_for'
vendor/plugins/redmine_chuck_norris/app/views/projects/show.rhtml:110:in `_run_rhtml_vendor47plugins47redmine_chuck_norris47app47views47projects47show46rhtml'
app/controllers/projects_controller.rb:165:in `show_without_chuck'
passenger (3.0.2) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
passenger (3.0.2) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.2) helper-scripts/passenger-spawn-server:99
Rendering /opt/redmine/public/500.html (500 Internal Server Error)
In the migration file it is necessary to substitute
:longtext
for
:text
in order to make it work.
Cheers
The plugin doesn´t work with Redmine 1.4.0. Can you take a look? This plugin is pretty cool!
Thanks!
Using Postgres and embedded in Apache2, installed with the following commands:
sudo service apache2 stop
sudo ./script/plugin install git://github.com/Signo-Net/redmine_chuck_norris
sudo rake db:migrate:plugins RAILS_ENV=production
sudo service apache2 start
db changelogs applied ok but then selecting projects causes 500 and can see the following in redmine log:
ActionView::TemplateError (undefined method `description' for nil:NilClass) on line #21 of vendor/plugins/redmine_chuck_norris/app/views/chuck_norris/_fact.rhtml:
18:
19:
I'd like to be able to set it so his Chuckness only appears to say Developer and Manager roles, but not to outsiders like Clients or Salespeople who may not be close followers to him.
I know this plugin isn't getting any updates, but its nice to dream.
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.