View Issue Details

IDProjectCategoryView StatusLast Update
0019627mantisbtbugtrackerpublic2015-05-11 11:17
Reporterchristian.sammut Assigned Todregad  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version1.3.0-beta.2 
Summary0019627: Changing status of a bug
Description

Changing status of a bug using the "Change Status To" button is not operational. When going through "Edit" button, changing the status and clicking on "Update Information", the status is updated.

Additional Information

Original bug report French text:
Le changement de statut par le bouton "Changer le statut en" n'est pas opérationnel par contre si on passe par le bouton "Modifier", on change le statut puis on clique sur "Mettre à jour l'information", le statut est bien changé.

TagsNo tags attached.
Attached Files
bogue mantis 1.3.0b2.jpg (111,114 bytes)   
bogue mantis 1.3.0b2.jpg (111,114 bytes)   
config_inc.php (6,158 bytes)   
<?php

	###########################################################################
	# CONFIGURATION VARIABLES
	###########################################################################

	################################
	# Mantis Database Settings
	################################

	# --- database variables ---------
	$g_hostname               = 'localhost';
	$g_db_type                = 'mysqli';
	$g_database_name          = 'mantisbt';
	$g_db_username            = '*********';
	$g_db_password            = '*********';

	$g_default_timezone       = 'Europe/Paris';

	$g_crypto_master_salt     = '7G/cVblQF7buAvIkfpFdrNVzfJgWVXQc3JUN8uqj/qQ=';
	
	################################
	# Mantis Language Settings
	################################

	# --- language settings -----------
	# If the language is set to 'auto', the actual language 
	# is determined by the user agent (web browser) language preference.
	$g_default_language		= 'french';
	
	###########################
	# Mantis Enum Strings
	###########################

	# --- enum strings ----------------
	# status from $g_status_index-1 to 79 are used for the onboard customization (if enabled)
	# directly use Mantis to edit them.
	$g_access_levels_enum_string		  = '10:viewer,15:dsi,25:reporter,40:updater,55:developer,70:manager,90:administrator';
	$g_project_status_enum_string		  = '10:development,30:release,50:stable,70:obsolete';
	$g_project_view_state_enum_string	= '10:public,50:private';
	$g_view_state_enum_string			    = '10:public,50:private';

	$g_priority_enum_string				    = '30:normal,50:urgent';
	$g_severity_enum_string				    = '10:evolution,20:feature,30:cosmetic,50:minor,80:block';
	$g_reproducibility_enum_string		= '10:always,30:sometimes,50:random,70:have not tried,90:unable to duplicate,100:N/A';
	$g_status_enum_string				      = '10:new,15:reopened,30:acknowledged,45:rejected,50:assigned,70:treated,80:resolved,90:closed';

	# @@@ for documentation, the values in this list are also used to define variables in the language files
	#  (e.g., $s_new_bug_title referenced in bug_change_status_page.php )
	# Embedded spaces are converted to underscores (e.g., "working on" references $s_working_on_bug_title).
	# they are also expected to be english names for the states

	$g_resolution_enum_string		  	= '10:open,20:fixed,30:reopened,40:unable to duplicate,50:not fixable,60:duplicate,70:not a bug,80:suspended,90:wont fix';
	$g_projection_enum_string			  = '10:none,30:tweak,50:minor fix,70:major rework,90:redesign';
	$g_eta_enum_string					    = '10:none,20:< 1 day,30:2-3 days,40:< 1 week,50:< 1 month,60:> 1 month';
	$g_sponsorship_enum_string 			= '0:Unpaid,1:Requested,2:Paid';

	$g_custom_field_type_enum_string	= '0:string,1:numeric,2:float,3:enum,4:email,5:checkbox,6:list,7:multiselection list,8:date';


	############################
	# Status Settings
	############################

	# Status to assign to the bug when submitted.
	$g_bug_submit_status = NEW_;

	# Status to assign to the bug when assigned.
	$g_bug_assigned_status = ASSIGNED;

	# Status to assign to the bug when reopened.
	$g_bug_reopen_status = FEEDBACK;

	# Resolution to assign to the bug when reopened.
	$g_bug_reopen_resolution = REOPENED;

	# --- status thresholds (*_status_threshold) ---

	# Bug becomes readonly if its status is >= this status.  The bug becomes read/write again if re-opened and its
	# status becomes less than this threshold.
	$g_bug_readonly_status_threshold = RESOLVED;

	# Bug is resolved, ready to be closed or reopened.  In some custom installations a bug
	# maybe considered as resolved when it is moved to a custom (FIXED OR TESTED) status.
	$g_bug_resolved_status_threshold = RESOLVED;

	# Automatically set status to ASSIGNED whenever a bug is assigned to a person.
	# This is useful for installations where assigned status is to be used when
	# the bug is in progress, rather than just put in a person's queue.
	$g_auto_set_status_to_assigned	= ON;

	# 'status_enum_workflow' defines the workflow, and reflects a simple
	#  2-dimensional matrix. For each existing status, you define which
	#  statuses you can go to from that status, e.g. from NEW_ you might list statuses
	#  '10:new,20:feedback,30:acknowledged' but not higher ones.
	# 'status_enum_workflow' defines the workflow, and reflects a simple
	#  2-dimensional matrix. For each existing status, you define which
	#  statuses you can go to from that status, e.g. from NEW_ you might list statuses
	#  '10:new,20:feedback,30:acknowledged' but not higher ones.
	# The following example can be transferred to config_inc.php
	$g_status_enum_workflow[NEW_]			    ='30:acknowledged,45:rejected,50:assigned';
	$g_status_enum_workflow[REOPENED]		  ='30:acknowledged';
	$g_status_enum_workflow[EVOLUTION]		='30:acknowledged';	
	$g_status_enum_workflow[ACKNOWLEDGED]	='50:assigned,45:rejected';
	$g_status_enum_workflow[REJECTED]		  ='15:reopened,10:new';
	$g_status_enum_workflow[ASSIGNED]		  ='70:treated,80:resolved';
	$g_status_enum_workflow[TREATED]		  ='80:resolved,50:assigned,45:rejected';	
	$g_status_enum_workflow[RESOLVED]		  ='90:closed,15:reopened';
	$g_status_enum_workflow[CLOSED]			  ='15:reopened';
	$g_status_enum_workflow = array();

	############################
	# Mantis Date Settings
	############################

	# --- date format settings --------
	# date format strings defaults to ISO 8601 formatting
	# go to http://www.php.net/manual/en/function.date.php
	# for detailed instructions on date formatting
	$g_short_date_format    = 'd-m-Y';
	$g_normal_date_format   = 'd-m-Y H:i';
	$g_complete_date_format = 'd-m-Y H:i T';
	################################
	# Mantis Look and Feel Variables
	################################

	# --- status color codes ----------
	#
	$g_status_colors	= array( 'new'	=> '#FFFF85', # jaune,
						'reopened'		  => '#FFC715', # orange
						'acknowledged'	=> '#A4D76B', # vert pomme
						'rejected'		  => '#FF4F4F', # rouge clair
						'assigned'		  => '#DBFFD9', #  vert tr�s pale
						'treated'		    => '#3BABFF', #  bleu 
						'resolved'		  => '#A5E9E7', # bleu turquoise
						'closed'		    => '#D8D8D8'); #  gris clair
						
config_inc.php (6,158 bytes)   
custom_strings_inc.php (1,509 bytes)   
<?php
if (lang_get_current() =='french')
{
	$s_status_enum_string = 
	'10:nouveau,
	15:réouvert,
	30:accepté,
	45:rejeté,
	50:affecté,	
	70:traité,
	80:résolu,
	90:fermé';

	# Status 10:New
	$s_new_bug_title	  	= 'Nouveau bogue';
	$s_new_bug_button 		= 'Nouveau bogue';

	# Status 15:Reopened
	$s_reopened_bug_title  	= 'Réouvrir le bogue';
	$s_reopened_bug_button	= 'Réouvrir le bogue';

	# Status 30:Acknowledged
	$s_acknowledged_bug_title  	= 'Accepter le bogue';
	$s_acknowledged_bug_button	= 'Accepter le bogue';

	# Status 45:Rejected
	$s_rejected_bug_title	  = 'Rejeter le bogue';
	$s_rejected_bug_button	= 'Rejeter le bogue';

	# Status 50:Assigned
	$s_assigned_bug_title	  = 'Assigner le bogue';
	$s_assigned_bug_button	= 'Assigner le bogue';

	# Status 70:Treated
	$s_treated_bug_title		= 'Traiter le bogue';
	$s_treated_bug_button	  = 'Traiter le bogue';

	# Status 80:Resolved
	$s_resolved_bug_title	  = 'Résoudre le bogue';
	$s_resolved_bug_button	= 'Résoudre le bogue';

	# Status 90:Closed
	$s_closed_bug_title		  = 'Fermer le bogue';
	$s_closed_bug_button		= 'Fermer le bogue';

	$s_severity_enum_string		= '10:évolution,20:mineur,30:majeur,50:critique,80:bloquant';

	$s_priority_enum_string		= '30:normale,50:urgente';
	
	$s_access_levels_enum_string 	= '10:Invité,15:DSI,25:Rapporteur,40:Testeur,55:Développeur,70:Chef de projet,90:Administrateur';
	
	# $s_steps_to_reproduce = 'Informations complèmentaires (Référent)';
	# $s_additional_information = 'Pré-analyse';

}
?>
custom_strings_inc.php (1,509 bytes)   
custom_constant_inc.php (1,192 bytes)   
<?php

	# access levels
	define( 'ANYBODY',			  0 );
	define( 'VIEWER',			   10 );
	define( 'DSI',			     15 );
	define( 'REPORTER',		   25 );
	define( 'UPDATER',			 40 );
	define( 'DEVELOPER',		 55 );
	define( 'MANAGER',			 70 );
	define( 'ADMINISTRATOR', 90 );
	define( 'NOBODY',			   100 );

	define( 'DEFAULT_ACCESS_LEVEL', -1); # This is used in add user to project


	# status
	define( 'NEW_',          10 );   # NEW seems to be a reserved keyword
	define( 'REOPENED',      15 );
	define( 'ACKNOWLEDGED',  30 );
	define( 'REJECTED',      45 );
	define( 'ASSIGNED',      50 );
	define( 'TREATED',       70 );
	define( 'RESOLVED',			 80 );
	define( 'CLOSED',			   90 );

	# resolution
	define( 'OPEN',			     10 );
	define( 'FIXED',			   20 );
	define( 'REOPENED',			 30 );
	define( 'UNABLE_TO_DUPLICATE',	40 );
	define( 'NOT_FIXABLE',	 50 );
	define( 'DUPLICATE',		 60 );
	define( 'NOT_A_BUG',		 70 );
	define( 'SUSPENDED',		 80 );
	define( 'WONT_FIX',			 90 );

	# priority
	define( 'NORMAL',			30 );
	define( 'URGENT',			50 );

	# severity
	define( 'EVOLUTION',		10 );
	define( 'FEATURE',			20 );
	define( 'COSMETIC',			30 );
	define( 'MINOR',			  50 );
	define( 'BLOCK',			  80 );

?>
custom_constant_inc.php (1,192 bytes)   
constant_inc.php (14,348 bytes)   
<?php
# Mantis - a php based bugtracking system

# Copyright (C) 2000 - 2002  Kenzaburo Ito - kenito@300baud.org
# Copyright (C) 2002 - 2007  Mantis Team   - mantisbt-dev@lists.sourceforge.net

# Mantis is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# Mantis is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Mantis.  If not, see <http://www.gnu.org/licenses/>.

	# --------------------------------------------------------
	# $Id: constant_inc.php 5174 2008-04-19 06:49:44Z vboctor $
	# --------------------------------------------------------

	define( 'MANTIS_VERSION', '1.2.0a1' );

	# --- constants -------------------

	# magic numbers
	define( 'ON',		1 );
	define( 'OFF',	0 );
	define( 'AUTO',	3 );

	# installation
	define( 'CONFIGURED_PASSWORD', "______" );

	# error types
	define( 'ERROR',	E_USER_ERROR );
	define( 'WARNING',	E_USER_WARNING );
	define( 'NOTICE',	E_USER_NOTICE );

	# access levels
	define( 'ANYBODY',			0 );
	define( 'VIEWER',			10 );
	define( 'REPORTER',			25 );
	define( 'UPDATER',			40 );
	define( 'DEVELOPER',		55 );
	define( 'MANAGER',			70 );
	define( 'ADMINISTRATOR',	90 );
	define( 'NOBODY',			100 );

	define( 'DEFAULT_ACCESS_LEVEL', -1); # This is used in add user to project


	# status
	define( 'NEW_',				10 );   # NEW seems to be a reserved keyword
	define( 'FEEDBACK',			20 );
	define( 'ACKNOWLEDGED',		30 );
	define( 'CONFIRMED',		40 );
	define( 'ASSIGNED',			50 );
	define( 'RESOLVED',			80 );
	define( 'CLOSED',			90 );

	# resolution
	define( 'OPEN',					10 );
	define( 'FIXED',				20 );
	define( 'REOPENED',				30 );
	define( 'UNABLE_TO_DUPLICATE',	40 );
	define( 'NOT_FIXABLE',			50 );
	define( 'DUPLICATE',			60 );
	define( 'NOT_A_BUG',			70 );
	define( 'SUSPENDED',			80 );
	define( 'WONT_FIX',				90 );

	# priority
	define( 'NONE',			10 );
	define( 'LOW',			20 );
	define( 'NORMAL',		30 );
	define( 'HIGH',			40 );
	define( 'URGENT',		50 );
	define( 'IMMEDIATE',	60 );

	# severity
	define( 'FEATURE',		10 );
	define( 'TRIVIAL',		20 );
	define( 'TEXT',			30 );
	define( 'TWEAK',		40 );
	define( 'MINOR',		50 );
	define( 'MAJOR',		60 );
	define( 'CRASH',		70 );
	define( 'BLOCK',		80 );

	# reproducibility
	define( 'REPRODUCIBILITY_ALWAYS',				10 );
	define( 'REPRODUCIBILITY_SOMETIMES',			30 );
	define( 'REPRODUCIBILITY_RANDOM',				50 );
	define( 'REPRODUCIBILITY_HAVENOTTRIED', 		70 );
	define( 'REPRODUCIBILITY_UNABLETODUPLICATE',	90 );
	define( 'REPRODUCIBILITY_NOTAPPLICABLE',		100 );

	# project view_state
	define( 'VS_PUBLIC',	10 );
	define( 'VS_PRIVATE',	50 );
	
	# direction
	define( 'ASCENDING',	101 );
	define( 'DESCENDING',	102 );

	# unread status
	define( 'READ',			201 );
	define( 'UNREAD',		202 );

	# login methods
	define( 'PLAIN',			0 );
	define( 'CRYPT',			1 );
	define( 'CRYPT_FULL_SALT',	2 );
	define( 'MD5',				3 );
	define( 'LDAP',				4 );
	define( 'BASIC_AUTH',		5 );
	define( 'HTTP_AUTH',		6 );

	# file upload methods
	define( 'DISK',				1 );
	define( 'DATABASE',			2 );
	define( 'FTP',				3 );

	# show variable values
	define( 'BOTH',				0 );
	define( 'SIMPLE_ONLY',		1 );
	define( 'ADVANCED_ONLY',	2 );
	define( 'SIMPLE_DEFAULT',	3 );
	define( 'ADVANCED_DEFAULT',	4 );

	# news values
	define( 'BY_LIMIT',		0 );
	define( 'BY_DATE',		1 );

	# all projects
	define( 'ALL_PROJECTS',	0 );

	# all users
	define( 'ALL_USERS',    0 );

	# no user
	define( 'NO_USER',		0 );

	# history constants
	define( 'NORMAL_TYPE',					0 );
	define( 'NEW_BUG',						1 );
	define( 'BUGNOTE_ADDED',				2 );
	define( 'BUGNOTE_UPDATED',				3 );
	define( 'BUGNOTE_DELETED',				4 );
	define( 'DESCRIPTION_UPDATED',			6 );
	define( 'ADDITIONAL_INFO_UPDATED',		7 );
	define( 'STEP_TO_REPRODUCE_UPDATED',	8 );
	define( 'FILE_ADDED',					9 );
	define( 'FILE_DELETED',					10 );
	define( 'BUGNOTE_STATE_CHANGED',		11 );
	define( 'BUG_MONITOR',					12 );
	define( 'BUG_UNMONITOR',				13 );
	define( 'BUG_DELETED',					14 );
	define( 'BUG_ADD_SPONSORSHIP',			15 );
	define( 'BUG_UPDATE_SPONSORSHIP',		16 );
	define( 'BUG_DELETE_SPONSORSHIP',		17 );
	define( 'BUG_ADD_RELATIONSHIP', 		18 );
	define( 'BUG_DEL_RELATIONSHIP', 		19 );
	define( 'BUG_CLONED_TO', 				20 );
	define( 'BUG_CREATED_FROM', 			21 );
	define( 'CHECKIN',						22 );
	define( 'BUG_REPLACE_RELATIONSHIP', 	23 );
	define( 'BUG_PAID_SPONSORSHIP', 		24 );
	define( 'TAG_ATTACHED', 				25 );
	define( 'TAG_DETACHED', 				26 );
	define( 'TAG_RENAMED', 					27 );

	# bug relationship constants
	define( 'BUG_DUPLICATE',	0 );
	define( 'BUG_RELATED',		1 );
	define( 'BUG_DEPENDANT',	2 );
	define( 'BUG_BLOCKS', 3 );
	define( 'BUG_HAS_DUPLICATE', 4 );

	# error messages
	define( 'ERROR_GENERIC',						0 );
	define( 'ERROR_SQL',							1 );
	define( 'ERROR_REPORT',							3 );
	define( 'ERROR_NO_FILE_SPECIFIED',				4 );
	define( 'ERROR_FILE_DISALLOWED',				5 );
	define( 'ERROR_NO_DIRECTORY',					6 );
	define( 'ERROR_DUPLICATE_FILE',					9 );
	define( 'ERROR_DUPLICATE_PROJECT',				10 );
	define( 'ERROR_EMPTY_FIELD',					11 );
	define( 'ERROR_PROTECTED_ACCOUNT',				12 );
	define( 'ERROR_ACCESS_DENIED',					13 );
	define( 'ERROR_UPLOAD_FAILURE',					15 );
	define( 'ERROR_FTP_CONNECT_ERROR',				16 );
	define( 'ERROR_HANDLER_ACCESS_TOO_LOW',				17 );
	define( 'ERROR_PAGE_REDIRECTION',				18 );
	define( 'ERROR_INVALID_REQUEST_METHOD',		    19 );

	# ERROR_CONFIG_*
	define( 'ERROR_CONFIG_OPT_NOT_FOUND',			100 );
	define( 'ERROR_CONFIG_OPT_INVALID',			101 );
	define( 'ERROR_CONFIG_OPT_CANT_BE_SET_IN_DB',   102 );

	# ERROR_GPC_*
	define( 'ERROR_GPC_VAR_NOT_FOUND',				200 );
	define( 'ERROR_GPC_ARRAY_EXPECTED',				201 );
	define( 'ERROR_GPC_ARRAY_UNEXPECTED',			202 );
	define( 'ERROR_GPC_NOT_NUMBER',			203 );

	# ERROR_LANG_*
	define( 'ERROR_LANG_STRING_NOT_FOUND',			300 );

	# ERROR_DB_*
	define( 'ERROR_DB_CONNECT_FAILED',				400 );
	define( 'ERROR_DB_QUERY_FAILED',				401 );
	define( 'ERROR_DB_SELECT_FAILED',				402 );
	define( 'ERROR_DB_FIELD_NOT_FOUND',				403 );

	# ERROR_FILE_*
	define( 'ERROR_FILE_TOO_BIG',					500 );
	define( 'ERROR_FILE_NOT_ALLOWED',				501 );
	define( 'ERROR_FILE_DUPLICATE',					502 );
	define( 'ERROR_FILE_INVALID_UPLOAD_PATH',		503 );
	define( 'ERROR_FILE_NO_UPLOAD_FAILURE',		    504 );
	define( 'ERROR_FILE_MOVE_FAILED',		    505 );

	# ERROR_BUGNOTE_*
	define( 'ERROR_BUGNOTE_NOT_FOUND',				600 );

	# ERROR_PROJECT_*
	define( 'ERROR_PROJECT_NOT_FOUND',				700 );
	define( 'ERROR_PROJECT_NAME_NOT_UNIQUE',		701 );
	define( 'ERROR_PROJECT_NAME_INVALID',			702 );
	define( 'ERROR_PROJECT_RECURSIVE_HIERARCHY',	703 );

	# ERROR_USER_*
	define( 'ERROR_USER_NAME_NOT_UNIQUE',			800 );
	define( 'ERROR_USER_NOT_FOUND',					801 );
	define( 'ERROR_USER_PREFS_NOT_FOUND',			802 );
	define( 'ERROR_USER_CREATE_PASSWORD_MISMATCH',	803 );
	define( 'ERROR_USER_PROFILE_NOT_FOUND',			804 );
	define( 'ERROR_USER_NAME_INVALID',				805 );
	define( 'ERROR_USER_DOES_NOT_HAVE_REQ_ACCESS',		806 );
	define( 'ERROR_USER_REAL_MATCH_USER',		807 );
	define( 'ERROR_USER_CHANGE_LAST_ADMIN',		808 );
	define( 'ERROR_USER_REAL_NAME_INVALID',         809 );

	# ERROR_AUTH_*
	define( 'ERROR_AUTH_INVALID_COOKIE',			900 );

	# ERROR_NEWS_*
	define( 'ERROR_NEWS_NOT_FOUND',					1000 );

	# ERROR_BUG_*
	define( 'ERROR_BUG_NOT_FOUND',					1100 );
	define( 'ERROR_BUG_DUPLICATE_SELF',				1101 );
	define( 'ERROR_BUG_RESOLVED_ACTION_DENIED',			1102 );	// @@@ obsolete, remove after lang files are sync'd
	define( 'ERROR_BUG_READ_ONLY_ACTION_DENIED',			1103 );

	# ERROR_EMAIL_*
	define( 'ERROR_EMAIL_INVALID',					1200 );
	define( 'ERROR_EMAIL_DISPOSABLE',               1201 );

	# ERROR_CUSTOM_FIELD_*
	define( 'ERROR_CUSTOM_FIELD_NOT_FOUND',			1300 );
	define( 'ERROR_CUSTOM_FIELD_NAME_NOT_UNIQUE',   1301 );
	define( 'ERROR_CUSTOM_FIELD_IN_USE',			1302 );
	define( 'ERROR_CUSTOM_FIELD_INVALID_VALUE',		1303 );
	define( 'ERROR_CUSTOM_FIELD_INVALID_DEFINITION',1304 );

	# ERROR_LDAP_*
	define( 'ERROR_LDAP_AUTH_FAILED',				1400 );
	define( 'ERROR_LDAP_SERVER_CONNECT_FAILED',		1401 );
	define( 'ERROR_LDAP_UPDATE_FAILED',				1402 );
	define( 'ERROR_LDAP_USER_NOT_FOUND',			1403 );
	define( 'ERROR_LDAP_EXTENSION_NOT_LOADED',		1404 );
	
	# ERROR_CATEGORY_*
	define( 'ERROR_CATEGORY_DUPLICATE',				1500 );
	define( 'ERROR_CATEGORY_NO_ACTION',				1501 );
	define( 'ERROR_CATEGORY_NOT_FOUND',				1502 );
	define( 'ERROR_CATEGORY_NOT_FOUND_FOR_PROJECT',	1503 );

	# ERROR_VERSION_*
	define( 'ERROR_VERSION_DUPLICATE',				1600 );
	define( 'ERROR_VERSION_NOT_FOUND',				1601 );

	# ERROR_SPONSORSHIP_*
	define( 'ERROR_SPONSORSHIP_NOT_ENABLED',			1700 );
	define( 'ERROR_SPONSORSHIP_NOT_FOUND',				1701 );
	define( 'ERROR_SPONSORSHIP_AMOUNT_TOO_LOW',			1702 );
	define( 'ERROR_SPONSORSHIP_HANDLER_ACCESS_LEVEL_TOO_LOW',	1703 );
	define( 'ERROR_SPONSORSHIP_ASSIGNER_ACCESS_LEVEL_TOO_LOW',	1704 );
	define( 'ERROR_SPONSORSHIP_SPONSOR_NO_EMAIL',	1705 );

	# ERROR RELATIONSHIP
	define( 'ERROR_RELATIONSHIP_ALREADY_EXISTS', 1800 );
	define( 'ERROR_RELATIONSHIP_ACCESS_LEVEL_TO_DEST_BUG_TOO_LOW', 1801 );
	define( 'ERROR_RELATIONSHIP_NOT_FOUND', 1802 );
	define( 'ERROR_RELATIONSHIP_SAME_BUG', 1803 );

	# ERROR_LOST_PASSWORD_*
	define( 'ERROR_LOST_PASSWORD_NOT_ENABLED', 1900 );
	define( 'ERROR_LOST_PASSWORD_CONFIRM_HASH_INVALID', 1901 );
	define( 'ERROR_LOST_PASSWORD_NO_EMAIL_SPECIFIED', 1902 );
	define( 'ERROR_LOST_PASSWORD_NOT_MATCHING_DATA', 1903 );
	define( 'ERROR_SIGNUP_NOT_MATCHING_CAPTCHA', 1904 );
	define( 'ERROR_LOST_PASSWORD_MAX_IN_PROGRESS_ATTEMPTS_REACHED', 1905 );

	# ERROR_FILTER_*
	define( 'ERROR_FILTER_NOT_FOUND', 2000 );
	define( 'ERROR_FILTER_TOO_OLD', 2001 );
	
	# ERROR_TWITTER_*
	define( 'ERROR_TWITTER_NO_CURL_EXT', 2100 );

	# ERROR_TAG_*
	define( 'ERROR_TAG_NOT_FOUND', 2200 );
	define( 'ERROR_TAG_DUPLICATE', 2201 );
	define( 'ERROR_TAG_NAME_INVALID', 2202 );
	define( 'ERROR_TAG_NOT_ATTACHED', 2203 );
	define( 'ERROR_TAG_ALREADY_ATTACHED', 2204 );

	# ERROR_TOKEN_*
	define( 'ERROR_TOKEN_NOT_FOUND', 2300 );

	# ERROR_EVENT_*
	define( 'ERROR_EVENT_UNDECLARED', 2400 );

	# ERROR_PLUGIN *
	define( 'ERROR_PLUGIN_NOT_REGISTERED', 2500 );
	define( 'ERROR_PLUGIN_ALREADY_INSTALLED', 2501 );
	define( 'ERROR_PLUGIN_PAGE_NOT_FOUND', 2502 );

	# ERROR_COLUMNS_*
	define ( 'ERROR_COLUMNS_DUPLICATE',	2600 );
	define ( 'ERROR_COLUMNS_INVALID',	2601 );

	# Status Legend Position
	define( 'STATUS_LEGEND_POSITION_TOP',		1);
	define( 'STATUS_LEGEND_POSITION_BOTTOM',	2);
	define( 'STATUS_LEGEND_POSITION_BOTH', 		3);

	# Filter Position
	define( 'FILTER_POSITION_NONE',				0 );
	define( 'FILTER_POSITION_TOP',				1 );
	define( 'FILTER_POSITION_BOTTOM',			2 );
	define( 'FILTER_POSITION_BOTH',				3 );  // FILTER_POSITION_TOP | FILTER_POSITION_BOTTOM (bitwise OR)

	# Flags for settings E-mail categories
	define( 'EMAIL_CATEGORY_PROJECT_CATEGORY',	1);

	# Custom Field types
	define( 'CUSTOM_FIELD_TYPE_STRING',		0 );
	define( 'CUSTOM_FIELD_TYPE_NUMERIC',	1 );
	define( 'CUSTOM_FIELD_TYPE_FLOAT',		2 );
	define( 'CUSTOM_FIELD_TYPE_ENUM',		3 );
	define( 'CUSTOM_FIELD_TYPE_EMAIL',		4 );
	define( 'CUSTOM_FIELD_TYPE_CHECKBOX',	5 );
	define( 'CUSTOM_FIELD_TYPE_LIST',		6 );
	define( 'CUSTOM_FIELD_TYPE_MULTILIST',	7 );
	define( 'CUSTOM_FIELD_TYPE_DATE',		8 );
	define( 'CUSTOM_FIELD_TYPE_RADIO',	9 );

	# Meta filter values
	define( 'META_FILTER_MYSELF',	-1 );
	define( 'META_FILTER_NONE',     -2  );
	define( 'META_FILTER_CURRENT',	-3 );
	define( 'META_FILTER_ANY',      0   );

	# Versions
	define( 'VERSION_ALL',		null );
	define( 'VERSION_FUTURE',	0 );
	define( 'VERSION_RELEASED',	1 );

	# Contexts for bug summary
	define( 'SUMMARY_CAPTION', 1 );
	define( 'SUMMARY_FIELD', 2 );
	define( 'SUMMARY_EMAIL', 3 );

	# bugnote types
	define( 'BUGNOTE', 0 );
	define( 'REMINDER', 1 );
	define( 'TIME_TRACKING', 2 );

	# token types
	define( 'TOKEN_UNKNOWN',		0 );
	define( 'TOKEN_FILTER',			1 );
	define( 'TOKEN_GRAPH',			2 );
	define( 'TOKEN_LAST_VISITED',	3 );
	define( 'TOKEN_AUTHENTICATED',	4 );
	define( 'TOKEN_COLLAPSE',		5 );
	define( 'TOKEN_USER',			1000 );

	# token expirations
	define( 'TOKEN_EXPIRY', 		60*60 ); # Default expiration of 60 minutes ( 3600 seconds )
	define( 'TOKEN_EXPIRY_LAST_VISITED', 24*60*60 );
	define( 'TOKEN_EXPIRY_AUTHENTICATED', 5*60 );
	define( 'TOKEN_EXPIRY_COLLAPSE', 365*24*60*60 );

	# config types
	define( 'CONFIG_TYPE_INT', 1 );
	define( 'CONFIG_TYPE_STRING', 2 );
	define( 'CONFIG_TYPE_COMPLEX', 3 );

	# Control types for date custom fields.
	define( 'CUSTOM_FIELD_DATE_ANY',		0 ) ;
	define( 'CUSTOM_FIELD_DATE_NONE',		1 ) ;
	define( 'CUSTOM_FIELD_DATE_BETWEEN',	2 ) ;
	define( 'CUSTOM_FIELD_DATE_ONORBEFORE', 3 ) ;
	define( 'CUSTOM_FIELD_DATE_BEFORE',		4 ) ;
	define( 'CUSTOM_FIELD_DATE_ON',			5 ) ;
	define( 'CUSTOM_FIELD_DATE_AFTER',		6 ) ;
	define( 'CUSTOM_FIELD_DATE_ONORAFTER',	7 ) ;

	# custom field types
	define( 'CUSTOM_FIELD_TYPE_BUG',		0 );
	define( 'CUSTOM_FIELD_TYPE_USER',		1 );
	define( 'CUSTOM_FIELD_TYPE_BUGNOTE',	2 );
	define( 'CUSTOM_FIELD_TYPE_PROJECT',	3 );
	define( 'CUSTOM_FIELD_TYPE_FILE', 		4 );

	# system logging
	#  logging levels, can be OR'd together
	define( 'LOG_NONE',                     0 );  # no logging
	define( 'LOG_EMAIL',                    1 );  # all emails sent
	define( 'LOG_EMAIL_RECIPIENT',          2 );  # details of email recipient determination
	define( 'LOG_FILTERING',                4 );  # logging for filtering.
	define( 'LOG_AJAX',                     8 );  # logging for AJAX / XmlHttpRequests

	# COLUMNS_TARGET_*
	define( 'COLUMNS_TARGET_VIEW_PAGE',   1 );
	define( 'COLUMNS_TARGET_PRINT_PAGE',  2 );
	define( 'COLUMNS_TARGET_CSV_PAGE',    3 );
	define( 'COLUMNS_TARGET_EXCEL_PAGE',  4 );

	# sponsorship "paid" values
	define( 'SPONSORSHIP_UNPAID',         0 );
	define( 'SPONSORSHIP_REQUESTED',      1 );
	define( 'SPONSORSHIP_PAID',           2 );

	# Plugin events
	define( 'EVENT_TYPE_DEFAULT',		0 );
	define( 'EVENT_TYPE_EXECUTE',		1 );
	define( 'EVENT_TYPE_OUTPUT',		2 );
	define( 'EVENT_TYPE_CHAIN',			3 );
	define( 'EVENT_TYPE_FIRST',			4 );
?>
constant_inc.php (14,348 bytes)   
mantisbt-1.jpg (241,906 bytes)   
mantisbt-1.jpg (241,906 bytes)   

Activities

dregad

dregad

2015-04-16 17:48

developer   ~0049422

Please post in English in the future, thank you.

dregad

dregad

2015-04-16 17:52

developer   ~0049423

As a test, I just changed the status of this issue to "Acknowledged" using the "Change Status To" button, and everything worked as expected (i.e. display bug_change_status_page.php and update the status when clicking on the "Acknowledge Issue" button).

Can you please clarify exactly what you mean by "not operational". Please provide detailed step-by-step instructions to reproduce the issue; the following additional information may also be useful:

  • Exact version of MantisBT, PHP, Database, Web server, Browser and Operating System
  • Relevant customizations (e.g. changes in config_inc.php, etc)
  • Installed plugins or custom functions ?
  • Was the MantisBT source code modified in any way ?
christian.sammut

christian.sammut

2015-04-18 05:29

reporter   ~0050541

Sorry for writing in english.

Here's all information required :

  • MantisBT : 1.3.0.beta2 downloaded last wednesday in zip format
  • OS : Debian Wheezy
  • mySQL : 5.5.41
  • PHP : 5.4.36
  • Apache : 2.2.22
    All files for customization ara attached.
    I've attached a screenshot to try to explain.
    1. I want to change the status of a bug which is "new"
    2. I select in the listbox of "Change Status To:" , the "acknowledged" status and when I click on the "Change Status To" button, it's supposed to change the status from "new" to "acknowledged".
      In version 1.2.?, it was working in this way.
      If I click on "Edit" button, I can effectively change the status.

I hope my explanations are enought and my english not to bad.

Regards

atrol

atrol

2015-04-18 06:03

developer   ~0050542

Do you substitute the original version of constant_inc.php by the very old version that you attached?
define( 'MANTIS_VERSION', '1.2.0a1' );

As a first step you should use the original version that comes with MantisBT 1.3.0-beta.2.

christian.sammut

christian.sammut

2015-04-18 06:51

reporter   ~0050543

No,
In fact the constant_inc.php file,i've attached is in /config.
The 1.3 constant_inc.php file which is in /core directory is the original.
I don't know which one is used.

dregad

dregad

2015-04-18 09:22

developer   ~0050544

Christian,

I tried to replicate the problem with the provided files, and got several PHP Notices: Use of undefined constant xxx.

That was caused by an incorrect custom constants file name. After renaming it custom_constants_inc.php, I again got Several PHP Notices: Constant xxx already defined...

I stopped there. Please fix your config, also delete the obsolete constant_inc.php (keep only the one in core/) and give us something we can actually use.

Some advice:

  • remove the closing '?>' tags at the end of your config files
  • for security reasons, don't publish your crypto salt - it should be considered private just like a password. You should change it.
atrol

atrol

2015-05-01 14:55

developer   ~0050686

christian.sammut,

You did not provide any feedback; I am therefore resolving this issue as "unable to reproduce".

Feel free to reopen the issue at a later time and provide information how to reproduce the issue.