Sequence for custom fields not working?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
bmason
Posts: 14
Joined: 29 Aug 2019, 19:56

Sequence for custom fields not working?

Post by bmason »

I'm a noob, so it is possible I am not doing this right, but...

When I am adding or editing a Custom Field on manage_custom_field_edit_page.php, when I enter a number for the Sequence, then click Link Custom Field, the number does not get saved. (The Sequence field is list in the Link Custom Field to Projects section of the screen.)

Setting the Sequence number from the Edit Project Page (manage_proj_edit_page.php) for a particular project does work.

Am running MantisBT 2.22.0 on Windows.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Sequence for custom fields not working?

Post by atrol »

I tried on two systems (Linux with PHP 7.0 and MySQL 5.7, macOS with PHP 7.1 and MySQL 5.6) but was not able to reproduce.
Please use Search before posting and read the Manual
bmason
Posts: 14
Joined: 29 Aug 2019, 19:56

Re: Sequence for custom fields not working?

Post by bmason »

I think I figured it out. It appears that the Sequence number is not set globally, but is set on individual projects individually. If you select a new project to link the custom field to, and enter a Sequence number, that Sequence number will be applied to the newly linked project. It will not be retroactively applied to any of the previously-linked projects, even if they have not set their own Sequence number for that field.
Post Reply