after update redirected to issue instead of staying at issues list

Added by Slava Karg over 9 years ago

Hello!

Recently I noticed a strange behavior of RM 1.0.1. I am wonder what is the reason of it. I'll try to explain it and two pieces of Log file are applied.

After updating "status" value of project with context menu (at "Issues" tab) it is normal if you keep staying at the "Issues" tab.
However it doesn't always work as normal: working with some projects I am redirected to the Issue-page after updating this issue. Here are log files corresponding to normal and wrong behavior:

Normal Behavior:

Processing IssuesController#update (for x.x.x.x at 2010-10-28 16:55:00) [PUT]
  Parameters: {"back_url"=>"/redmine/projects/net/issues?set_filter=1&tracker_id=1", "action"=>"update", "_method"=>"put", "authenticity_token"=>"px66NXgpZOcc3IbsD6hTt39xETkgPQN3vea+ozAJv7Q=", "id"=>"215", "issue"=>{"status_id"=>"5"}, "controller"=>"issues"}
Sending email notification to:
Redirected to https://my.server.com/redmine/projects/net/issues?set_filter=1&tracker_id=1
Completed in 90ms (DB: 51) | 302 Found [https://my.server.com/redmine/issues/215/edit?back_url=%2Fredmine%2Fprojects%2Fnet%2Fissues%3Fset_filter%3D1%26tracker_id%3D1&issue%5Bstatus_id%5D=5]

Wrong Behavior:

Processing IssuesController#update (for x.x.x.x at 2010-10-28 17:49:44) [PUT]
  Parameters: {"back_url"=>"/redmine/projects/com015-agroclever-s1/issues?authenticity_token=px66NXgpZOcc3IbsD6hTt39xETkgPQN3vea%2BozAJv7Q%3D&fields%5B%5D=status_id&group_by=&operators%5Bassigned_to_id%5D=%3D&operators%5Bauthor_id%5D=%3D&operators%5Bcreated_on%5D=%3Et-&operators%5Bdone_ratio%5D=%3D&operators%5Bdue_date%5D=%3Ct%2B&operators%5Bestimated_hours%5D=%3D&operators%5Bfixed_version_id%5D=%3D&operators%5Bhudson_build%5D=%3D&operators%5Bhudson_job%5D=%3D&operators%5Bpriority_id%5D=%3D&operators%5Bstart_date%5D=%3Ct%2B&operators%5Bstatus_id%5D=%3D&operators%5Bsubject%5D=%7E&operators%5Btracker_id%5D=%3D&operators%5Bupdated_on%5D=%3Et-&operators%5Bwatcher_id%5D=%3D&query%5Bcolumn_names%5D%5B%5D=project&query%5Bcolumn_names%5D%5B%5D=tracker&query%5Bcolumn_names%5D%5B%5D=parent&query%5Bcolumn_names%5D%5B%5D=status&query%5Bcolumn_names%5D%5B%5D=priority&query%5Bcolumn_names%5D%5B%5D=subject&query%5Bcolumn_names%5D%5B%5D=assigned_to&query%5Bcolumn_names%5D%5B%5D=estimated_hours&query%5Bcolumn_names%5D%5B%5D=done_ratio&set_filter=1&values%5Bassigned_to_id%5D%5B%5D=me&values%5Bauthor_id%5D%5B%5D=me&values%5Bcreated_on%5D%5B%5D=&values%5Bdone_ratio%5D%5B%5D=&values%5Bdue_date%5D%5B%5D=&values%5Bestimated_hours%5D%5B%5D=&values%5Bfixed_version_id%5D%5B%5D=5&values%5Bhudson_build%5D%5B%5D=&values%5Bpriority_id%5D%5B%5D=3&values%5Bstart_date%5D%5B%5D=&values%5Bstatus_id%5D%5B%5D=5&values%5Bsubject%5D%5B%5D=&values%5Btracker_id%5D%5B%5D=2&values%5Bupdated_on%5D%5B%5D=&values%5Bwatcher_id%5D%5B%5D=me", "action"=>"update", "_method"=>"put", "authenticity_token"=>"px66NXgpZOcc3IbsD6hTt39xETkgPQN3vea+ozAJv7Q=", "id"=>"1028", "issue"=>{"status_id"=>"3"}, "controller"=>"issues"}
Sending email notification to: x@gmail.com, y@gmail.com
Redirected to https://my.server.com/redmine/issues/1028
Completed in 86ms (DB: 8) | 302 Found [https://my.server.com/redmine/issues/1028/edit?back_url=%2Fredmine%2Fprojects%2Fcom015-agroclever-s1%2Fissues%3Fauthenticity_token%3Dpx66NXgpZOcc3IbsD6hTt39xETkgPQN3vea%252BozAJv7Q%253D%26fields%255B%255D%3Dstatus_id%26group_by%3D%26operators%255Bassigned_to_id%255D%3D%253D%26operators%255Bauthor_id%255D%3D%253D%26operators%255Bcreated_on%255D%3D%253Et-%26operators%255Bdone_ratio%255D%3D%253D%26operators%255Bdue_date%255D%3D%253Ct%252B%26operators%255Bestimated_hours%255D%3D%253D%26operators%255Bfixed_version_id%255D%3D%253D%26operators%255Bhudson_build%255D%3D%253D%26operators%255Bhudson_job%255D%3D%253D%26operators%255Bpriority_id%255D%3D%253D%26operators%255Bstart_date%255D%3D%253Ct%252B%26operators%255Bstatus_id%255D%3D%253D%26operators%255Bsubject%255D%3D%257E%26operators%255Btracker_id%255D%3D%253D%26operators%255Bupdated_on%255D%3D%253Et-%26operators%255Bwatcher_id%255D%3D%253D%26query%255Bcolumn_names%255D%255B%255D%3Dproject%26query%255Bcolumn_names%255D%255B%255D%3Dtracker%26query%255Bcolumn_names%255D%255B%255D%3Dparent%26query%255Bcolumn_names%255D%255B%255D%3Dstatus%26query%255Bcolumn_names%255D%255B%255D%3Dpriority%26query%255Bcolumn_names%255D%255B%255D%3Dsubject%26query%255Bcolumn_names%255D%255B%255D%3Dassigned_to%26query%255Bcolumn_names%255D%255B%255D%3Destimated_hours%26query%255Bcolumn_names%255D%255B%255D%3Ddone_ratio%26set_filter%3D1%26values%255Bassigned_to_id%255D%255B%255D%3Dme%26values%255Bauthor_id%255D%255B%255D%3Dme%26values%255Bcreated_on%255D%255B%255D%3D%26values%255Bdone_ratio%255D%255B%255D%3D%26values%255Bdue_date%255D%255B%255D%3D%26values%255Bestimated_hours%255D%255B%255D%3D%26values%255Bfixed_version_id%255D%255B%255D%3D5%26values%255Bhudson_build%255D%255B%255D%3D%26values%255Bpriority_id%255D%255B%255D%3D3%26values%255Bstart_date%255D%255B%255D%3D%26values%255Bstatus_id%255D%255B%255D%3D5%26values%255Bsubject%255D%255B%255D%3D%26values%255Btracker_id%255D%255B%255D%3D2%26values%255Bupdated_on%255D%255B%255D%3D%26values%255Bwatcher_id%255D%255B%255D%3Dme&issue%5Bstatus_id%5D=3]

any idea?

Replies (2)

RE: after update redirected to issue instead of staying at issues list - Added by Felix Schäfer over 9 years ago

Is it on stable or trunk? What browser? Can you find any kind of similarities between either the working or the non-working requests?

RE: after update redirected to issue instead of staying at issues list - Added by Slava Karg over 9 years ago

Thanks for reply!

It is a stable 1.0.1 RM.
Same browser: Mozilla Firefox in my case.
Both of these requests work - they update info of issues, but values of "Redirected to" are different as you can see. Don't know what to say else..

(1-2/2)