Project

General

Profile

Actions

Feature #32783

closed

Redirect to index page instead of edit page after creating a new custom field

Added by Aleksandar Pavic over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Custom fields
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Current behavior:

1. Click o Create new custom field from some tab like Users
2. Create custom field and click save
3. You are staying on the same form

Desired behavior

step 3: Go back to Users tab and display new field there

The process of adding multiple custom fields would be improved this way


Files

32783.patch (1.21 KB) 32783.patch Go MAEDA, 2020-04-20 12:07

Related issues

Related to Redmine - Patch #33117: Redirect to users_path instead of edit_user_path in order to avoid confusionNew

Actions
Actions #1

Updated by Go MAEDA about 4 years ago

+1
Here is a patch to change the behavior as suggested.

Actions #2

Updated by Go MAEDA about 4 years ago

  • Related to Patch #33117: Redirect to users_path instead of edit_user_path in order to avoid confusion added
Actions #3

Updated by Go MAEDA almost 4 years ago

  • Target version changed from Candidate for next major release to 4.2.0

Setting the target version to 4.2.0.

Actions #4

Updated by Aleksandar Pavic almost 4 years ago

Same problem is with other custom fields also, not just users.

If you create custom filed for issue, and save it, you are redirected to that field not
to issue's custom fields.

Same goes for documents etc...

Actions #5

Updated by Go MAEDA almost 4 years ago

Aleksandar Pavic wrote:

If you create custom filed for issue, and save it, you are redirected to that field not
to issue's custom fields.

Same goes for documents etc...

Do you mean that the behavior after applying 32783.patch is broken? I could not reproduce such wrong redirection.

I would like to investigate the problem, so could you describe details and steps to reproduce?

Actions #6

Updated by Aleksandar Pavic almost 4 years ago

It is good, sorry for confusion.

Thanks.

Actions #7

Updated by Go MAEDA almost 4 years ago

  • Subject changed from After creating custom field return to custom fields tab to Redirect to index page instead of edit page after creating a new custom field
  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch.

Actions

Also available in: Atom PDF