Defect #34594

Redmine 3.3.2 redirect after creating issue broke

Added by Łukasz Zaremba about 1 month ago. Updated about 1 month ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-
Resolution:Duplicate Affected version:

Description

Problem

Redmine 3.3.2 in r16317 changed the behavior in backwards incompatible manner.

Before r16317 - after creating an issue, user was redirected to the issue that he created.

This was very useful because after working on a task with remote team members - you could CTRL+C/CTRL+V the link to other people and they could login their hours.

After r16317 - we are redirected to parent task and Redmine so far does not provide to alter this behavior in Administrative section.

This breaks our workflow because we work on long tree structures and finding "last" task is very inconvenient.

Temporary workaround

I did manage to find temporary workaround by commenting back_url hidden form field when creating the issue but I had to modify the source code - which I prefer not to do.

See: revert-redirect-to-parent-issue-after-adding-subtask-r16317.patch

Redmine version details

Environment:
  Redmine version                4.1.1.stable.19939
  Ruby version                   2.5.5-p157 (2019-03-15) [x86_64-linux-gnu]
  Rails version                  5.2.4.2
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                sendmail
SCM:
  Subversion                     1.10.4
  Git                            2.20.1
  Filesystem                     
Redmine plugins:
  no plugin installed

revert-redirect-to-parent-issue-after-adding-subtask-r16317.patch Magnifier - Temporary workaround (690 Bytes) Łukasz Zaremba, 2021-01-14 19:18

subtask_message.png (70 KB) Marius BALTEANU, 2021-01-25 00:26


Related issues

Duplicates Redmine - Patch #29076: Dont return to Parent Task on Submit New

History

#1 Updated by Marius BALTEANU about 1 month ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Thanks Łukasz for reporting this issue. I'm closing this in favour of #29076, please watch that ticket for further updates.

#2 Updated by Marius BALTEANU about 1 month ago

  • Related to Patch #29076: Dont return to Parent Task on Submit added

#3 Updated by Marius BALTEANU about 1 month ago

  • Related to deleted (Patch #29076: Dont return to Parent Task on Submit)

#4 Updated by Marius BALTEANU about 1 month ago

  • Duplicates Patch #29076: Dont return to Parent Task on Submit added

#5 Updated by Marius BALTEANU about 1 month ago

Łukasz Zaremba wrote:

This breaks our workflow because we work on long tree structures and finding "last" task is very inconvenient.

Another option is to copy the link or open the new subtask from the notification message that appears on the parent task after you've been redirected:

Anyway, I've proposed a solution to #29076.

Also available in: Atom PDF