View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0019265||mantisbt||custom fields||public||2015-01-26 06:29||2015-03-15 19:58|
|Priority||normal||Severity||major||Reproducibility||have not tried|
|Target Version||1.3.0-beta.2||Fixed in Version||1.3.0-beta.2|
|Summary||0019265: Assign-To fails when there is a custom field that is required on update|
If a custom field is defined as required to be supplied when updating an issue, the assign-to operation fails even if the custom field is already set on the issue.
When the custom field is defined, "required on update" really means that the issue is required when the user edits the issue and not when the users assigns it. In fact, even if the user has this value we don't allow them to assign it. Unlike resolve/close where it is a logical part of the workflow where user can elect to require fields that we show on the follow up form.
There is a bit of tension between re-using bug_update for all these actions and for it doing stuff that doesn't make sense for all the scenarios. Hence, we have two options:
Given where we are at, it is likely easier to go with the first option.
The fix described above, should also provide a good way to fix 0019271.
Pull Request: https://github.com/mantisbt/mantisbt/pull/577
MantisBT: master 899b93cc
2015-02-19 01:42:09Details Diff
|Make Assign work with required custom fields
This bug was introduced in 1.3.x where users are not able to assign
issues within projects that have required custom fields on update.
This failure happens even independent of whether the
fields are populated
or not. The fix is to enabling the Assign-To action to work independent
of custom fields values. This this is an assign-to action rather than
a full update.
|mod - bug_update.php||Diff File|
|mod - core/constant_inc.php||Diff File|
|mod - core/html_api.php||Diff File|
|2015-01-26 06:29||vboctor||New Issue|
|2015-01-26 06:30||vboctor||Assigned To||=> vboctor|
|2015-01-26 06:30||vboctor||Status||new => assigned|
|2015-01-26 06:30||vboctor||Tag Attached: mantishub|
|2015-01-26 06:30||vboctor||Assigned To||vboctor =>|
|2015-01-26 06:30||vboctor||Status||assigned => confirmed|
|2015-01-27 18:54||vboctor||Note Added: 0048710|
|2015-01-27 18:55||vboctor||Note Added: 0048711|
|2015-01-27 18:55||vboctor||Tag Attached: 19271|
|2015-01-27 18:55||vboctor||Tag Detached: 19271|
|2015-01-27 18:55||vboctor||Relationship added||related to 0019271|
|2015-02-19 01:43||vboctor||Note Added: 0048869|
|2015-02-19 01:43||vboctor||Assigned To||=> vboctor|
|2015-02-19 01:43||vboctor||Status||confirmed => assigned|
|2015-02-19 11:04||vboctor||Changeset attached||=> MantisBT master 899b93cc|
|2015-02-19 11:04||vboctor||Status||assigned => resolved|
|2015-02-19 11:04||vboctor||Resolution||open => fixed|
|2015-02-19 11:04||vboctor||Fixed in Version||=> 1.3.0-beta.2|
|2015-03-02 08:04||vitsaadmin||Issue cloned: 0019426|
|2015-03-15 19:58||dregad||Status||resolved => closed|