View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003473 | mantisbt | bugtracker | public | 2003-12-22 06:26 | 2004-07-07 18:44 |
Reporter | Assigned To | vboctor | |||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Any | OS | Any | OS Version | Any |
Product Version | 0.18.3 | ||||
Fixed in Version | 0.19.0a1 | ||||
Summary | 0003473: g_bug_resolved_status_threshold variable ignored | ||||
Description | bug_resolve in bug_api has now hardcoded status for resolved bugs instead of using declared g_bug_resolved_status_threshold
must be, I suppose, changed to
| ||||
Steps To Reproduce | Use different assignment for g_bug_resolved_status_threshold and "resolve" bug | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
I guess there is two things that are meant by resolved:
The confusion is at the moment "bug_resolved_status_threshold" is used to reflect the read-only configuration which makes it a bit misleading. |
|
The following was implemented and committed to CVS. This will be included in 0.19.0.
|
|
Error in bug_api does NOT allow using user-defined resolve-status edited on: 06-14-04 16:42 |
|
Obviously bug_set_field( $p_bug_id, 'status', config_get( 'bug_readonly_status_threshold' ) ); in bug_api must be bug_set_field( $p_bug_id, 'status', config_get( 'bug_resolved_status_threshold' ) ); resolved != readonly |
|
Patch for one-string fix attached :-) |
|
Victor, please! Apply my patch - I hate undo changes in thunk from my branched bug_api every time, when it changed in HEAD |
|
Reminder sent to vboctor please, fix mistake... |
|
Fixed in CVS. Will be included in 0.19.0. Sorry for the delay. |
|
MantisBT: master 9fdced85 2004-05-17 07:39 Details Diff |
Enh 0003152: Adding notes and documents to resolved bugs. Enh 0003505: Add a Bugnote to a resolved bug. Enh 0003811: Allow private flag to be unset on resolved bugs. Fix 0003473: g_bug_resolved_status_threshold variable ignored. Fix 0003567: Reminders can be added for a readonly bug. M config_defaults_inc.php - New Config: bug_readonly_status_threshold (default RESOLVED). Status threshold after which the issue is considered readonly. - New Config: update_readonly_bug_threshold (default MANAGER). Status threshold after which the user is allowed to edit readonly issues. M core/email_api.php - (email_format_bug_message): Use configurable resolved status. M core/bug_api.php - (bug_is_readonly): Modified to return true if issue is readonly, and user doesn't have access level to edit readonly issues. - (bug_resolve): Modified to use bug_readonly_status_threshold rather than set status to hard-coded status RESOLVED. M bugnote_add.php M bug_reminder_page.php M bug_reminder.php M bug_update_advanced_page.php M bug_update_page.php - Check the readonly flag. M view_all_inc.php - Check the readonly flag and only display the edit pen for non-readonly issues, or if the user has threshold to edit readonly issues. M bugnote_add_inc.php M bugnote_edit_page.php M bugnote_set_view_state.php M bugnote_update.php - Check the readonly flag rather than the resolved status. M bug_view_advanced_page.php M bug_view_page.php - Check the readonly flag for the file upload. M core/constant_inc.php - Constant for new error message for attempting to edit readonly issues. M core/html_api.php - Use bug_is_readonly(). - Don't display Resolve button if issue is already resolved. M lang/strings_english.txt - New error message for attempting to edit a readonly issue. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2537 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0003473, 0003567 |
|
mod - lang/strings_english.txt | Diff File | ||
mod - core/constant_inc.php | Diff File | ||
mod - bug_update_advanced_page.php | Diff File | ||
mod - bugnote_edit_page.php | Diff File | ||
mod - bug_reminder_page.php | Diff File | ||
mod - core/email_api.php | Diff File | ||
mod - bug_view_page.php | Diff File | ||
mod - bug_reminder.php | Diff File | ||
mod - bug_view_advanced_page.php | Diff File | ||
mod - config_defaults_inc.php | Diff File | ||
mod - bugnote_add.php | Diff File | ||
mod - core/bug_api.php | Diff File | ||
mod - view_all_inc.php | Diff File | ||
mod - bugnote_update.php | Diff File | ||
mod - bugnote_set_view_state.php | Diff File | ||
mod - bug_update_page.php | Diff File | ||
mod - core/html_api.php | Diff File | ||
mod - doc/ChangeLog | Diff File | ||
mod - bugnote_add_inc.php | Diff File |