View Issue Details

IDProjectCategoryView StatusLast Update
0026575mantisbtplug-inspublic2020-01-12 10:22
Reportersadovsf Assigned Toatrol  
PriorityhighSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.23.0 
Target Version2.24.0Fixed in Version2.24.0 
Summary0026575: When calling bug_assign function it auto creates empty note
Description

After update of mantis when bug_assign is called on php side it automatically creates empty note although even comment inside function states that it only creates note when some is supplied. Maybe missing if?

# Add bugnote if supplied ignore false return
if ( ! is_blank($p_bugnote_text) ) {
    $t_bugnote_id = bugnote_add( $p_bug_id, $p_bugnote_text, 0, $p_bugnote_private, 0, '', null, false );
    bugnote_process_mentions( $p_bug_id, $t_bugnote_id, $p_bugnote_text );
}
TagsNo tags attached.

Relationships

related to 0026570 resolvedatrol Assigning bug from group action creates empty bugnote 

Activities

Related Changesets

MantisBT: master 8b34e48c

2020-01-08 06:26:17

atrol

Details Diff
Avoid blank notes on group assign action

Fixes 0026570
Fixes 0026575
Affected Issues
0026570, 0026575
mod - core/bug_api.php Diff File

Issue History

Date Modified Username Field Change
2020-01-08 05:06 sadovsf New Issue
2020-01-08 05:15 atrol Relationship added related to 0026570
2020-01-08 06:36 atrol Assigned To => atrol
2020-01-08 06:36 atrol Status new => assigned
2020-01-08 06:36 atrol Target Version => 2.23.1
2020-01-08 06:36 atrol Note Added: 0063397
2020-01-12 10:21 atrol Changeset attached => MantisBT master 8b34e48c
2020-01-12 10:21 atrol Status assigned => resolved
2020-01-12 10:21 atrol Resolution open => fixed
2020-01-12 10:21 atrol Fixed in Version => 2.24.0
2020-01-12 10:22 atrol Target Version 2.23.1 => 2.24.0