Closed zech closed 13 years ago
Maxim Shalaev has reported this issue on the redmine forum: http://www.redmine.org/boards/3/topics/12026?r=18494#message-18494
He says:
Trunk release of redmine with time tracker plugin (version 0.3) send internal error 500 when timer is stop. To fix it i make changes in time_tracker_controller.rb line 34: redirect_to :controller => 'timelog', :action => 'new', :issue_id => issue_id, :time_entry => { :hours => hours}
However, this fix will not be backward compatible.
Thanks for this hint. Works like a charm. I think this is a permanent change to redmine so further versions of this plugin should have this build in as soon as this route change is integrated in a stable version of redmine.
I agree. The recent 1.0.3 redmine release does not seem to include so I will postpone the fix until it is needed by an official redmine release.
Thanks to MischaTheEvil, the master branch contains a fix which make the plugin compatible with both redmine 1.0.x and redmine trunk.
Zech,
This should be fixed in master remaining backwards compatible with Redmine 1.0.x. Could you please test and report back? Thanks in advance.
Well, I've just though of #9 and the changes I've just merged don't allow to do it cleanly. I think I will make a plugin release if I have feedback on this fix quickly (i.e. before redmine 1.1.0 is released).
Then, I will make a new release which drops redmine 1.0.x support and implements #9.
What do you think?
Hi,
just updated to your master. it works now with Redmine 1.0.5.devel.4574 (MySQL). your idea sounds good if i just have to do the fix stated above until 1.1.0 is out. but it is a bad workaround because i always have to revert git to keep up with your development. but you don't have to worry about this ;)
When stopping Time Tracker the following URL is called: https://mydomain.de/timelog/edit?issue_id=22&time_entry%5Bhours%5D=0.03
resulting in the above mentioned internal error.