software-project/scrum-pm

Can't view user story's task

Opened this issue · 2 comments

After creation of user stories and their tasks I'm trying to view task details. Details screen appears, and then page immediately redirects back to dashboard. I can't view task; I can edit task only by manually typing address http://localhost/redmine/issues/edit/{issue-id}

Here's log (I'm visiting url http://localhost/redmine/issues/1 )

Processing IssuesController#show (for 192.168.195.1 at 2010-11-11 16:21:28) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"issues"}
Rendering template within layouts/base
Rendering issues/show.rhtml
Completed in 688ms (View: 578, DB: 47) | 200 OK [http://192.168.195.129/redmine/issues/1]

Processing SprintsController#show (for 192.168.195.1 at 2010-11-11 16:21:29) [GET]
Parameters: {"project_id"=>"t1", "action"=>"show", "id"=>"1", "controller"=>"sprints"}
Rendering template within layouts/base
Rendering sprints/show
Completed in 625ms (View: 516, DB: 94) | 200 OK [http://192.168.195.129/redmine/projects/t1/sprints/1]

I am experiencing the same problem after migrating Redmine to 1.0.3 and scrum-pm to 0.1.6 .
This is really frustrating since I cannot use the system anymore: updating tasks is impossible because I get redirected to the dashboard. The problem does not occur on issues I created before migrating.

Same Problem here.

I think I found a fix for this:

the problem is causes by this section:

<script type="text/javascript"> Event.observe(window, 'load', function(){ if(true){ window.location= '/redmine/projects/yourproject/sprints/1234'; } }); </script>

the file that generates this is:
\redmine\vendor\plugins\redmine_sprints\app\views\issue_sprints_redirect_after_create.rhtml

make a copy and delete the content of this file.

Works for me for now, but its a pretty dirty fix, imho.