View Issue Details

IDProjectCategoryView StatusLast Update
0009125mantisbtadministrationpublic2010-05-31 18:02
Reporterlolotrav Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version1.1.1 
Summary0009125: Wrong checkbox value in manage_config_email.php
Description

In the administration page 'manage_config_email.php', the checkboxes for the row 'relationship change' is not correct.
Documentation in config_defaults.php stipulates about g_notify_flags :
'relation': a relationship has changed on this bug
and this key is used in email_api.
However, in manage_config_email.php, the key used is 'relationship'. Thus changes in global config_inc.php are not reflected in the web page.

<pre><tt>
--- mantis-1.1.1/manage_config_email_page.php
+++ mantis-new/manage_config_email_page.php
@@ -193,7 +193,7 @@
$t_actions[] = 'sponsor';
}
if( config_get( 'enable_relationship' ) == ON ) {

  • $t_actions[] = 'relationship';
  • $t_actions[] = 'relation';
    }
    $t_statuses = get_enum_to_array( config_get( 'status_enum_string' ) );
    foreach( $t_statuses as $t_status ) {
    @@ -262,7 +262,7 @@
    get_capability_row_for_email( lang_get( 'email_on_sponsorship_changed' ), 'sponsor' );
    }
    if( config_get( 'enable_relationship' ) == ON ) {
  • get_capability_row_for_email( lang_get( 'email_on_relationship_changed' ), 'relationship' );
  • get_capability_row_for_email( lang_get( 'email_on_relationship_changed' ), 'relation' );
    }
    $t_statuses = explode_enum_string( config_get( 'status_enum_string' ) );
    foreach( $t_statuses as $t_status ) {
    </tt></pre>
TagsNo tags attached.

Activities

atrol

atrol

2010-05-31 18:02

developer   ~0025646

Hints for fix:

  • configuration enable_relationship is no longer vailable in 1.2
  • if the bug is fixed, database settings in configuration table must be updated