View Issue Details

IDProjectCategoryView StatusLast Update
0028557mantisbtadministrationpublic2023-10-31 16:32
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version2.26.0Fixed in Version2.26.0 
Summary0028557: Inconsistent use of hyperlink instead of button to edit Custom Fields in Edit Project page
Description

Issue 0020078 added a hyperlink on Custom Fields' names, allowing user to edit custom fields (manage_custom_field_edit_page.php).

This is not consistent with the other sections of the Edit Project page, which use an Edit button in the table's Action column for this functionality.

TagsNo tags attached.

Relationships

related to 0020078 closedvboctor Hyperlink custom field names on manage project page 
child of 0030551 closeddregad Project Edit Page improvements 

Activities

dregad

dregad

2021-05-16 06:31

developer   ~0065526

It's worth noting that this Edit action was present in the initial implementation (see MantisBT master 81ad05d4) but was later removed by commit MantisBT master 2425c50c (possibly unintentionally).

dregad

dregad

2021-05-16 06:54

developer   ~0065527

When editing a custom field starting from manage_proj_edit_page.php, manage_custom_field_edit_page.php does not return back to it after update; It goes to manage_custom_field_page.php instead, which can be confusing to users.

The functionality to provide a custom return page exists (return parameter), so we should make use of it.

dregad

dregad

2022-06-02 07:51

developer   ~0066671

PR https://github.com/mantisbt/mantisbt/pull/1821

Related Changesets

MantisBT: master 1f11dd3f

2021-05-16 05:58

dregad


Details Diff
Button to edit custom fields in manage project page

The use of a hyperlink to edit Custom Fields is not consistent with the
other sections on the page (subprojects, versions).

This commit removes the hyperlink on the Custom Field's name, and adds
a new 'Edit' button in the Actions column instead.

We also modify the existing print_form_button() call that removes custom
field association, to use the function's $p_args_to_post parameter
instead of building a GET URL.

Fixes 0028557
Affected Issues
0028557
mod - manage_proj_edit_page.php Diff File