fernandokosh / redmine_time_tracker

A time tracker plugin for Redmine
Other
203 stars 141 forks source link

404 Error #34

Closed tiagonpsilva closed 13 years ago

tiagonpsilva commented 13 years ago

Hi,

When the task is stopped, the error message is displayed: 404 - The page you were trying to access doesn't exist or has been removed.

The action executed is: http://.../timelog/edit?issue_id=2&time_entry[hours]=0.02

Thanks

delaitre commented 13 years ago

Which version of redmine and of the plugin do you run ?

tiagonpsilva commented 13 years ago

1.0.3.

delaitre commented 13 years ago

And the plugin version ?

delaitre commented 13 years ago

And why did you close the bug? Is this fixed?

tiagonpsilva commented 13 years ago

The plugin version is 0.3. This isn't fixed.

Thanks

delaitre commented 13 years ago

Well, this is strange and I've no idea where it can come from... I have not tested redmine 1.0.3 yet but I'll when time permits...

timir0n commented 13 years ago

I have the same error 404 when executed http://my_collab/timelog/edit?issue_id=727&time_entry[hours]=0.22 redmine version 1.0.4

MischaTheEvil commented 13 years ago

Jérémie,

This issue is still present in the most recent version of the plugin. It is caused by the changes in the Redmine trunk regarding the changed controller actions.

It has been fixed in several forks, see:

delaitre commented 13 years ago

This seems like #30.

Looking at timelog_controller.rb in redmine 1.0.4 (http://www.redmine.org/projects/redmine/repository/entry/tags/1.0.4/app/controllers/timelog_controller.rb) it seems the action is still "edit", not "new". I have no time yet to test it (I've just look in the file).

Are you sure you are running redmine 1.0.4 and not trunk?

MischaTheEvil commented 13 years ago

I am on trunk and I was aware of that while posting. Though, hadn't noticed that the other users were all talking about the 1.0-STABLE branch... I haven't said anything... ;-)

(Btw: thanks for maintaining this plugin...)

delaitre commented 13 years ago

This can't be reproduced... However redmine 1.1.0 should be available in 11 days and the logging stuff has been changed for this release.

The master branch of the plugin contains a fix (thanks to MischaTheEvil) which is compatible with both redmine 1.0.x and redmine trunk. However, this should not fix this bug is you have it...