vividtone / redmine_vividtone_my_page_blocks Goto Github PK
View Code? Open in Web Editor NEWAdd some useful my page blocks to Redmine
Add some useful my page blocks to Redmine
Redmine.JP Blogの記事を参考に、新規でCentOS6.4+redmine2.3.1+my_page_blocks最新版の1.2を導入しました。
Remineにプラグインは正常に認識されますが、マイページパーツに機能を追加するとRedmineの404になってしまいます。
log/production.logの該当するログです。
Started GET "/redmines/" for 192.168.1.7 at 2013-05-24 11:36:57 +0900
Processing by WelcomeController#index as HTML
Current user: admin (id=1)
Rendered welcome/index.html.erb within layouts/base (2.8ms)
Completed 200 OK in 22ms (Views: 11.6ms | ActiveRecord: 4.5ms)
Started GET "/redmines/my/page" for 192.168.1.7 at 2013-05-24 11:37:07 +0900
Processing by MyController#page as HTML
Current user: admin (id=1)
Rendered my/page.html.erb within layouts/base (1.5ms)
Missing template, responding with 404
Rendered common/error.html.erb within layouts/base (0.1ms)
Completed 404 Not Found in 23ms (Views: 7.4ms | ActiveRecord: 1.1ms)
Started GET "/my/page" for <public.ip.address> at 2016-07-01 15:12:05 +0900
Processing by MyController#page as HTML
Current user: username (id=3)
Rendered issues/_list_simple.html.erb (17.4ms)
Rendered issues/_list_simple.html.erb (14.2ms)
Rendered plugins/redmine_vividtone_my_page_blocks/app/views/my/blocks/_priority_issues.html.erb (194.6ms)
Rendered issues/_list_simple.html.erb (120.6ms)
Rendered plugins/redmine_vividtone_my_page_blocks/app/views/my/blocks/_doing_issues.html.erb (143.9ms)
Rendered issues/_list_simple.html.erb (20.1ms)
Rendered my/blocks/_issuesassignedtome.html.erb (58.2ms)
Rendered issues/_list_simple.html.erb (384.5ms)
Rendered plugins/redmine_vividtone_my_page_blocks/app/views/my/blocks/_neglected_issues.html.erb (399.0ms)
Rendered plugins/redmine_vividtone_my_page_blocks/app/views/my/blocks/_my_activity.html.erb (76.9ms)
Rendered my/page.html.erb within layouts/base (876.5ms)
Completed 500 Internal Server Error in 930ms (ActiveRecord: 71.2ms)
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
1: <%
2: current_user = User.current
3: events = Redmine::Activity::Fetcher.new(current_user, :author => current_user).events(nil, nil, :limit => 10)
4: events_by_day = events.group_by(&:event_date)
5: %>
6:
lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb:53:in `find_events'
lib/redmine/activity/fetcher.rb:91:in `block (2 levels) in events'
lib/redmine/activity/fetcher.rb:90:in `each'
lib/redmine/activity/fetcher.rb:90:in `block in events'
lib/redmine/activity/fetcher.rb:89:in `each'
lib/redmine/activity/fetcher.rb:89:in `events'
plugins/redmine_vividtone_my_page_blocks/app/views/my/blocks/_my_activity.html.erb:3:in `_plugins_redmine_vividtone_my_page_blocks_app_views_my_blocks__my_activity_html_erb___3883017127610658558_70093547804300'
app/views/my/page.html.erb:29:in `block in _app_views_my_page_html_erb___1767417655710393970_70093551562580'
app/views/my/page.html.erb:26:in `each'
app/views/my/page.html.erb:26:in `_app_views_my_page_html_erb___1767417655710393970_70093551562580'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
Environment:
Redmine version 3.3.0.stable
Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux]
Rails version 4.2.6
Environment production
Database adapter Mysql2
Redmine plugins:
redmine_vividtone_my_page_blocks 20150614
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.