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 |
Reporter | vboctor | Assigned To | vboctor | ||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0-beta.1 | ||||
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 | ||||
Description | 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. | ||||
Tags | mantishub | ||||
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-18 20:42 Details 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. Fixes 0019265 |
Affected Issues 0019265 |
|
mod - bug_update.php | Diff File | ||
mod - core/constant_inc.php | Diff File | ||
mod - core/html_api.php | Diff File |