View Issue Details

IDProjectCategoryView StatusLast Update
0003050mantisbtbugtrackerpublic2003-12-13 04:41
Reporterandrew Assigned Tojfitzell  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformWindowsOS2000 ProfessionalOS Version5.0 SP3
Summary0003050: Setting Assigned To to null causes Status to change to assigned (with fix)
Description

This happened when updating multiple bugs from view_all_bug_page.php

Fix: bug_api.php - line 763

if ( ( ON == config_get( 'auto_set_status_to_assigned' ) ) && $h_handler_id ) {

TagsNo tags attached.

Activities

andrew

andrew

2003-03-12 05:46

reporter   ~0003964

Last edited: 2003-03-12 05:52

Now you can see why I need a bug tracker!

This will work better:

if ( ( ON == config_get( 'auto_set_status_to_assigned' ) ) && $p_user_id ) {

I have also noticed that 'auto_set_status_to_assigned' doesn't work
when updating from bug_update_advanced_page.php

edited on: 03-12-03 05:52

jfitzell

jfitzell

2003-03-12 08:25

reporter   ~0003968

fixed in CVS

ed

ed

2003-03-22 10:31

reporter   ~0004024

Reminder sent to jfitzell

I'm running Mantis 0.17.5 (unmodified code). How can I obtain this fix from CVS by acquiring the least number of changed files? i.e. what's the safest way to update my 0.17.5 to get this fix?

Thanks.

Related Changesets

MantisBT: master 051e7cf7

2003-03-12 02:56

Julian Fitzell


Details Diff
Fix issue 0003050: Setting Assigned To to null causes Status to change to assigned

Also, add a new constant NO_USER to use instead of the number 0 in the code

* manage_proj_edit_page.php: use NO_USER

* core/bug_api.php
(bug_assign): don't mark the bug assigned if the user_id given is NO_USER

* core/constant_inc.php
(NO_USER): new constant defined as 0

* core/print_api.php
(print_user): use NO_USER
(print_user_with_subject): use NO_USER

* core/user_api.php
(user_get_field): use NO_USER

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2088 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0003050
mod - core/print_api.php Diff File
mod - core/constant_inc.php Diff File
mod - core/bug_api.php Diff File
mod - core/user_api.php Diff File
mod - doc/ChangeLog Diff File
mod - manage_proj_edit_page.php Diff File