Open markus61 opened 11 years ago
Sicher das du den neuesten master branch hast? Und das Plugin korrekt mit rake redmine:plugins:migrate
installiert hast (beziehungsweise die Datenbanken migriert hast)? Ich hab versucht den Fehler zu reproduzieren, allerdings gibts bei mir keine Probleme damit.
ms@rm2:/usr/share/rm3/plugins/redmine_time_tracker$ git status
nothing to commit (working directory clean) ms@rm2:/usr/share/rm3/plugins/redmine_time_tracker$ git pull Already up-to-date.
ms@rm2:/usr/share/rm3$ rake redmine:plugins:migrate NAME=redmine_time_tracker RAILS_ENV=production Migrating redmine_time_tracker (Redmine Time Tracker plugin)...
ms@rm2:/usr/share/rm3/log$ sudo service apache2 restart [sudo] password for ms:
Restarting web server apache2
... waiting
[ OK ]
ms@rm2:/usr/share/rm3/log$
Started GET "/time_trackers/render_menu?issue_id=6&project_id=11" for 83.137.170.253 at 2013-06-05 15:54:25 +0200 Processing by TimeTrackersController#rendermenu as /_ Parameters: {"issue_id"=>"6", "project_id"=>"11"} Current user: markus (id=4) Rendered plugins/redmine_time_tracker/app/views/time_trackers/_embed_menu.html.erb (20.6ms) Completed 500 Internal Server Error in 134ms
ActionView::Template::Error (undefined method `paused' for
1: <% if !@time_tracker.nil? %>
2: <% if @time_tracker.paused %>
3: <%# A time tracker is in pause, display the tracked
issue, the time spent and the resume/stop actions %>
4: <%= link_to '#' + @time_tracker.issue_id.to_s,
5: { :controller => '/issues', :action => 'show', :id =>
@time_tracker.issue_id },
activemodel (3.2.13) lib/active_model/attribute_methods.rb:407:in
method_missing' activerecord (3.2.13) lib/active_record/attribute_methods.rb:149:in
method_missing'
plugins/redmine_time_tracker/app/views/time_trackers/_embed_menu.html.erb:2:in `_plugins_redmine_time_tracker_app_views_time_trackers__embed_menu_html_erb__3969009863252083_64778540'
und kein timetracker menu für den user markus oben rechts.
/markus
Am 05.06.2013 15:41, schrieb mohikaner:
Sicher das du den neuesten master branch hast? Und das Plugin korrekt mit |rake redmine:plugins:migrate| installiert hast (beziehungsweise die Datenbanken migriert hast)? Ich hab versucht den Fehler zu reproduzieren, allerdings gibts bei mir keine Probleme damit.
— Reply to this email directly or view it on GitHub https://github.com/mohikaner/redmine_time_tracker/issues/4#issuecomment-18976006.
office: +49 221 9516835 mobile: +49 171 336 4818
DOM Digital Online Media GmbH Bismarck Strasse 60 50674 Köln Geschäftsführer: Markus Schulte Handelsregister-Nr.: Amtsgericht Köln HRB 55347 UST.-Ident.Nr.: DE814416951 http://www.dom.de
hier noch ain auszug aus dem seitenquelltext:
andere user kriegen's schon. das hier habe ich aus dem logfile gefischt.
grüße,
/markus
Started GET "/time_trackers/render_menu?project_id=11" for 83.137.170.253 at 2013-06-05 12:26:37 +0200 Processing by TimeTrackersController#rendermenu as /_ Parameters: {"project_id"=>"11"} Current user: markus (id=4) Rendered plugins/redmine_time_tracker/app/views/time_trackers/_embed_menu.html.erb (20.9ms) Completed 500 Internal Server Error in 37ms
ActionView::Template::Error (undefined method
paused' for #<TimeTracker:0x000000071f3860>): 1: <% if !@time_tracker.nil? %> 2: <% if @time_tracker.paused %> 3: <%# A time tracker is in pause, display the tracked issue, the time spent and the resume/stop actions %> 4: <%= link_to '#' + @time_tracker.issue_id.to_s, 5: { :controller => '/issues', :action => 'show', :id => @time_tracker.issue_id }, activemodel (3.2.13) lib/active_model/attribute_methods.rb:407:in
method_missing'