View Issue Details

IDProjectCategoryView StatusLast Update
0021701mantisbtuipublic2017-06-19 10:00
ReporterjoelAssigned Tojoel 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0021701: Notes always marked as private, if they are private by default
Description

When notes are set as private by default via the config below, the change status page would always mark notes as private even if the checkbox is unticked.

$g_default_bugnote_view_status = VS_PRIVATE;

Tagsmodern-ui

Activities

joel

joel

2016-09-20 03:58

developer   ~0054045

PR: https://github.com/mantisbt/mantisbt/pull/893

fman

fman

2017-06-19 09:59

reporter   ~0057097

my 5 cents:
FROM
$t_bug_note->view_state = gpc_get_bool( 'private', config_get( 'default_bugnote_view_status' ) == VS_PRIVATE ) ? VS_PRIVATE : VS_PUBLIC;

TO
$t_bug_note->view_state = VS_PUBLIC;
if( gpc_get_bool( 'private',VS_PUBLIC == VS_PRIVATE ) )
{
$t_bug_note->view_state = VS_PRIVATE;
}

fman

fman

2017-06-19 10:00

reporter   ~0057098

My 2 cents
FROM
$t_bug_note->view_state = gpc_get_bool( 'private', config_get( 'default_bugnote_view_status' ) == VS_PRIVATE ) ? VS_PRIVATE : VS_PUBLIC;

TO:
$t_bug_note->view_state = VS_PUBLIC;
if( gpc_get_bool( 'private',VS_PUBLIC == VS_PRIVATE ) )
{
$t_bug_note->view_state = VS_PRIVATE;
}

Issue History

Date Modified Username Field Change
2016-09-20 02:33 joel New Issue
2016-09-20 03:58 joel Note Added: 0054045
2016-09-20 12:37 atrol Tag Attached: modern-ui
2016-09-20 12:37 atrol Assigned To => community
2016-09-20 12:37 atrol Status new => assigned
2017-03-08 16:54 atrol Assigned To community => joel
2017-06-19 09:59 fman Note Added: 0057097
2017-06-19 10:00 fman Note Added: 0057098