View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011758 | mantisbt | feature | public | 2010-04-07 10:12 | 2014-12-08 00:34 |
Reporter | obones | Assigned To | dhx | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Target Version | 1.3.0-beta.1 | Fixed in Version | 1.3.0-beta.1 | ||
Summary | 0011758: Adding a bug note should not change the status of the issue | ||||
Description | Hello, Right now, there is this code in bugnote_api.php
It's located inside the bugnote_add function. | ||||
Tags | No tags attached. | ||||
related to | 0012257 | new | Move the reassign on feedback feature into a separate plugin | |
related to | 0012205 | closed | dhx | Do not leave feedback status when the handler adds a note |
related to | 0015721 | closed | grangeway | Functionality to consider porting to master-2.0.x |
child of | 0012097 | closed | atrol | Tracking issue for the refactoring of bug_update.php |
It is easily configured through config_inc.php Next adjust the code like: if it was FEEDBACK its NEW_ now
} |
|
Well, yes, there are many options to disable that code. |
|
Currently it's configurable via config_get( 'reassign_on_feedback' ). However, bug_change_status_page relies on this function, and calls it after setting desired status. The result is that bugnote changes status again (i.e. when you explicitly set status to feedback and add note at the same time, status will be assigned). |
|
I've removed this feature from the bugnote_add() function. The responsibility for handling this feature now lies with the scripts calling bugnote_add(). This is important when you start to consider that the XML import feature calls bugnote_add() where we certainly DON'T want to use the reassign on feedback feature. The other issue I've fixed is with bug_update.php in MantisBT 1.3.x (this page was refactored recently). If the user has requested the status to be changed to a higher value than the feedback status then we no longer handle the reassign on feedback feature. The status specified by the user will therefore be honoured if it's above the feedback status. I've created a new issue 0012257 for tracking progress towards moving this functionality into a separate plugin. I agree with the need to do this - it's just a case of having enough time to get around to it. |
|
Actually, we should be honouring ALL requests by the user to change the status of a bug via bug_update.php. The reassign on feedback feature should not interfere. I've committed a follow up patch to fix this problem. |
|
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
|
MantisBT: master b6a27219 2010-08-14 00:44 Details Diff |
Fix 0011758: Improve handling of reassign on feedback feature The bugnote_add() function in bugnote_api.php is currently the only way (using the API) to add a bugnote into the database. This function was also attempting to handle the reassign on feedback feature. This posed a problem because there are times that the bugnote_add() function needs to be called without considering the reassign on feedback feature. For example, importing issues from an XML file. The bugnote_add() function has been changed to no longer handle the reassign on feedback feature. The resposibility for handling this feature now belongs within the scripts calling the bugnote_add() function. The caller scripts are in a much better position to determine how the reassign on feedback issue will be handled. |
Affected Issues 0011758 |
|
mod - core/bugnote_api.php | Diff File | ||
mod - bugnote_add.php | Diff File | ||
mod - bug_update.php | Diff File | ||
MantisBT: master 203f17e6 2010-08-14 01:05 Details Diff |
Fix 0011758: Improve handling of reassign on feedback (bug_update) When updating a bug we should honour any change in status that the user has requested. The reassign on feedback feature should not be factored in when the user has explicitly requested a new status for the bug. |
Affected Issues 0011758 |
|
mod - bug_update.php | Diff File |