https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-01-25T17:18:06ZRedmineRedmine - Defect #7430: Log time page broken after 1.1 updatehttps://www.redmine.org/issues/7430?journal_id=244542011-01-25T17:18:06ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><blockquote>
<p>When I try to access this link after upgrading</p>
</blockquote>
<p>Where do you see this link?</p> Redmine - Defect #7430: Log time page broken after 1.1 updatehttps://www.redmine.org/issues/7430?journal_id=244572011-01-25T17:20:53ZOsama Sayed
<ul></ul><p>In the Log time link within any issue! Of course you would need to substitute the ### with the issue number.</p> Redmine - Defect #7430: Log time page broken after 1.1 updatehttps://www.redmine.org/issues/7430?journal_id=244892011-01-26T00:54:31Zinnate ideas
<ul></ul><p>I don't experience this issue on Redmine 1.1.0 upgraded from 1.0.4 running on SUSE Linux Enterprise Server 10sp3. Using default theme.</p> Redmine - Defect #7430: Log time page broken after 1.1 updatehttps://www.redmine.org/issues/7430?journal_id=244932011-01-26T08:10:06ZMichael Tuschik
<ul></ul><p>Hi there,</p>
<p>we get a simmilar error when accessing the timelog of an issue:</p>
<pre>
Processing TimelogController#details (for 10.193.2.16 at 2011-01-26 09:03:24) [GET]
Parameters: {"project_id"=>"caruso-dev-aep", "issue_id"=>"265", "action"=>"details", "controller"=>"timelog"}
Rendering template within layouts/base
Rendering common/error (403)
Filter chain halted as [:authorize] rendered_or_redirected.
Completed in 21ms (View: 16, DB: 1) | 403 Forbidden [http://our.redmine.host/projects/my-project/timelog/details?issue_id=265]
</pre>
<p>All time tracking privileges are granted to my user account.<br />Any hints on this?</p>
<p>Thanks<br />Michael</p> Redmine - Defect #7430: Log time page broken after 1.1 updatehttps://www.redmine.org/issues/7430?journal_id=244942011-01-26T08:37:40ZJarek Potiuk
<ul></ul><p>I have very similiar problem. The log tells:</p>
<p>ctionController::RoutingError (No route matches "/plugin_assets/timesheet_plugin/javascripts/timesheet.js" with {:method=>:get}):<br /> /vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'<br /> /vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:390:in `recognize'<br /> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:183:in `handle_request'<br /> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:112:in `dispatch_unlocked'<br /> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:125:in `dispatch'<br /> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:in `synchronize'<br /> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:in `dispatch'<br /> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:134:in `dispatch_cgi'<br /> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:41:in `dispatch'<br /> /usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:50:in `process_request'<br /> /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'<br /> /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:374:in `start_request_handler'<br /> /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application'<br /> /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'<br /> /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:330:in `handle_spawn_application'<br /> /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'<br /> /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'<br /> /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'<br /> /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'<br /> /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:in `start'<br /> /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'<br /> /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'<br /> /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'<br /> /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'<br /> /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'<br /> /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'<br /> /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'<br /> /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'<br /> /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'<br /> /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'<br /> /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'<br /> /usr/lib/phusion_passenger/passenger-spawn-server:61</p>
<p>Rendering /usr/share/redmine/public/404.html (404 Not Found)</p> Redmine - Defect #7430: Log time page broken after 1.1 updatehttps://www.redmine.org/issues/7430?journal_id=246172011-01-28T13:38:20ZMichael Tuschik
<ul></ul><p>Michael Tuschik wrote:</p>
<blockquote>
<p>Hi there,</p>
<p>we get a simmilar error when accessing the timelog of an issue:</p>
<p>[...]</p>
<p>All time tracking privileges are granted to my user account.<br />Any hints on this?</p>
<p>Thanks<br />Michael</p>
</blockquote>
<p>Hi,</p>
<p>we've found out, that this might be a problem with one of our installed plugins. There is an URL mismatch between the usual URL for time entries .../issues/###/time_entries and the URL, which our Redmine generates: .../projects/my-project/timelog/details?issue_id=###. So we have to look, where this come from and it doesn't belong to this ticket. Sorry for the spam.</p>
<p>Michael</p> Redmine - Defect #7430: Log time page broken after 1.1 updatehttps://www.redmine.org/issues/7430?journal_id=246212011-01-28T14:29:37ZMichael Tuschik
<ul></ul><p>Michael Tuschik wrote:</p>
<blockquote>
<p>Michael Tuschik wrote:</p>
<blockquote>
<p>Hi there,</p>
<p>we get a simmilar error when accessing the timelog of an issue:</p>
<p>[...]</p>
<p>All time tracking privileges are granted to my user account.<br />Any hints on this?</p>
<p>Thanks<br />Michael</p>
</blockquote>
<p>Hi,</p>
<p>we've found out, that this might be a problem with one of our installed plugins. There is an URL mismatch between the usual URL for time entries .../issues/###/time_entries and the URL, which our Redmine generates: .../projects/my-project/timelog/details?issue_id=###. So we have to look, where this come from and it doesn't belong to this ticket. Sorry for the spam.</p>
<p>Michael</p>
</blockquote>
<p>Update:</p>
<p>Source of our problem is the advanced roadmap plugin, which overrides the issues view. I got hints on this due to defect <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Links broken. (Closed)" href="https://www.redmine.org/issues/6754">#6754</a><br />Maybe this helps solving this issue.</p>
<p>Michael</p> Redmine - Defect #7430: Log time page broken after 1.1 updatehttps://www.redmine.org/issues/7430?journal_id=275472011-04-04T13:55:07ZPeter Englmaier
<ul></ul><p>We also see this issue in 1.1.2.stale.5032 (MySQL).</p>
<p>The problem is, that the link behind the 'Log Time' button is: <br /><pre>
https://my-redmine.site/issues/396/time_entries/396/edit
</pre><br />but it should be:<br /><pre>
https://my-redmine.site/issues/396/time_entries/new
</pre></p> Redmine - Defect #7430: Log time page broken after 1.1 updatehttps://www.redmine.org/issues/7430?journal_id=275512011-04-04T14:23:25ZEtienne Massip
<ul></ul><p>With no plugin ?</p> Redmine - Defect #7430: Log time page broken after 1.1 updatehttps://www.redmine.org/issues/7430?journal_id=276652011-04-07T09:30:30ZPeter Englmaier
<ul></ul>I have a few plugins:
<ul>
<li>redmine_changeauthor</li>
<li>redmine_xls_export</li>
</ul>
<p>Moving the redmine_changeauthor out of the vendor/plugin directory and restarting the server fixes the problem. Hmmm, I need to check if there is an update for the changeauthor plugin.</p> Redmine - Defect #7430: Log time page broken after 1.1 updatehttps://www.redmine.org/issues/7430?journal_id=276662011-04-07T09:44:17ZPeter Englmaier
<ul></ul><p>The plugin has no new version, but the following change in the plugin fixes the problem for me:</p>
<pre>
# diff -u redmine_changeauthor/app/views/issues/_action_menu.rhtml-orig redmine_changeauthor/app/views/issues/_action_menu.rhtml
--- redmine_changeauthor/app/views/issues/_action_menu.rhtml-orig 2011-02-21 15:29:11.000000000 +0100
+++ redmine_changeauthor/app/views/issues/_action_menu.rhtml 2011-04-07 11:36:26.000000000 +0200
@@ -3,7 +3,7 @@
<div class="contextual">
<%= link_to(l(:button_authorchange), {:controller => 'changeauthor', :action => 'index', :issue_id => @issue }, :class => 'icon icon-close redmine-authorchange-button') %>
<%= link_to_if_authorized(l(:button_update), {:controller => 'issues', :action => 'edit', :id => @issue }, :onclick => 'showAndScrollTo("update", "notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %>
-<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time-add' %>
+<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'new', :issue_id => @issue}, :class => 'icon icon-time-add' %>
<% replace_watcher ||= 'watcher' %>
<%= watcher_tag(@issue, User.current, {:id => replace_watcher, :replace => ['watcher','watcher2']}) %>
<%= link_to_if_authorized l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-duplicate' %>
</pre>
<p>Can someone coordinate the change with the plugin author? Or is change_author going to be a standard feature in the next redmine version?</p> Redmine - Defect #7430: Log time page broken after 1.1 updatehttps://www.redmine.org/issues/7430?journal_id=276742011-04-07T12:46:40ZEtienne Massip
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><p>I close the issue as it's a plugin issue.</p>
<p>The <a href="http://www.redmine.org/plugins/redmine_changeauthor" class="external">plugin page</a> is telling that the plugin is compatible with 1.1.x. Moreover, there are some recent commits on the plugin Github page (you'll find the link on the plugin description page).</p>