View Issue Details

IDProjectCategoryView StatusLast Update
0009125mantisbtadministrationpublic2022-01-16 05:45
Reporterlolotrav Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
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.

<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>
TagsNo tags attached.

Relationships

duplicate of 0013714 closeddregad "$g_notify_flags" config option in web config interface: problem for relationship change 

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