Common subdirectories: ./CVS and ../mantisbt/CVS
Common subdirectories: ./admin and ../mantisbt/admin
Only in ../mantisbt: bug_create_child.php
diff ./bug_report.php ../mantisbt/bug_report.php
11c11,12
<
---
> ?>
> ?>
>
17c19
<
---
>
22c24,25
<
---
> ?>
> 0 ) {
< # it's a child generation... let's create the relationship and add some lines in the history
<
< # Add log line to record the cloning action
< history_log_event_special( $t_bug_id, BUG_CREATED_FROM, '', $f_master_bug_id );
< history_log_event_special( $f_master_bug_id, BUG_CLONED_TO, '', $t_bug_id );
<
< # Add relation
< relationship_add( $f_master_bug_id, $t_bug_id, BUG_DEPENDANT );
<
< # Add log line to the history (both bugs)
< history_log_event_special( $f_master_bug_id, BUG_ADD_RELATIONSHIP, BUG_DEPENDANT, $t_bug_id );
< history_log_event_special( $t_bug_id, BUG_ADD_RELATIONSHIP, BUG_BLOCKS, $f_master_bug_id );
<
< # send email notification to the users addressed by the master bug
< email_relationship_added( $f_master_bug_id );
diff ./bug_report_advanced_page.php ../mantisbt/bug_report_advanced_page.php
11c11,12
<
---
> ?>
> ?>
> ?>
> 0 ) {
< # master bug exists...
< bug_ensure_exists( $f_master_bug_id );
<
< # master bug is not read-only...
< if ( bug_is_readonly( $f_master_bug_id ) ) {
< error_parameters( $f_master_bug_id );
< trigger_error( ERROR_BUG_READ_ONLY_ACTION_DENIED, ERROR );
< }
<
< # the user can at least update the master bug (needed to add the relationship)...
< access_ensure_bug_level( config_get( 'update_bug_threshold' ), $f_master_bug_id );
<
< $t_bug = bug_prepare_display( bug_get( $f_master_bug_id, true ) );
<
< $f_build = $t_bug->build;
< $f_platform = $t_bug->platform;
< $f_os = $t_bug->os;
< $f_os_build = $t_bug->os_build;
< $f_product_version = $t_bug->version;
< $f_profile_id = 0;
< $f_handler_id = $t_bug->handler_id;
<
< $f_category = $t_bug->category;
< $f_reproducibility = $t_bug->reproducibility;
< $f_severity = $t_bug->severity;
< $f_priority = $t_bug->priority;
< $f_summary = $t_bug->summary;
< $f_description = $t_bug->description;
< $f_steps_to_reproduce = $t_bug->steps_to_reproduce;
< $f_additional_info = $t_bug->additional_information;
< $f_view_state = $t_bug->view_state;
<
< $t_project_id = $t_bug->project_id;
<
< if( $t_project_id != helper_get_current_project() ) {
< # in case the current project is not the same project of the bug we are cloning...
< # ...se set on fly the current project. This to avoid problems with categories and handlers lists etc.
< $t_redirect_url = "set_project.php?project_id=" . $t_project_id .
< "&make_default=no&ref=" . urlencode( "bug_report_advanced_page.php?m_id=" . $f_master_bug_id );
< print_header_redirect( $t_redirect_url );
< }
< }
< else {
< $f_build = gpc_get_string( 'build', '' );
< $f_platform = gpc_get_string( 'platform', '' );
< $f_os = gpc_get_string( 'os', '' );
< $f_os_build = gpc_get_string( 'os_build', '' );
< $f_product_version = gpc_get_string( 'product_version', '' );
< $f_profile_id = gpc_get_int( 'profile_id', 0 );
< $f_handler_id = gpc_get_int( 'handler_id', 0 );
<
< $f_category = gpc_get_string( 'category', '' );
< $f_reproducibility = gpc_get_int( 'reproducibility', 0 );
< $f_severity = gpc_get_int( 'severity', config_get( 'default_bug_severity' ) );
< $f_priority = gpc_get_int( 'priority', config_get( 'default_bug_priority' ) );
< $f_summary = gpc_get_string( 'summary', '' );
< $f_description = gpc_get_string( 'description', '' );
< $f_steps_to_reproduce = gpc_get_string( 'steps_to_reproduce', '' );
< $f_additional_info = gpc_get_string( 'additional_info', '' );
< $f_view_state = gpc_get_int( 'view_state', config_get( 'default_bug_view_status' ) );
<
< $t_project_id = helper_get_current_project();
< }
---
> $f_build = gpc_get_string( 'build', '' );
> $f_platform = gpc_get_string( 'platform', '' );
> $f_os = gpc_get_string( 'os', '' );
> $f_os_build = gpc_get_string( 'os_build', '' );
> $f_product_version = gpc_get_string( 'product_version', '' );
> $f_profile_id = gpc_get_int( 'profile_id', 0 );
> $f_handler_id = gpc_get_int( 'handler_id', 0 );
>
> $f_category = gpc_get_string( 'category', '' );
> $f_reproducibility = gpc_get_int( 'reproducibility', 0 );
> $f_severity = gpc_get_int( 'severity', config_get( 'default_bug_severity' ) );
> $f_priority = gpc_get_int( 'priority', config_get( 'default_bug_priority' ) );
> $f_summary = gpc_get_string( 'summary', '' );
> $f_description = gpc_get_string( 'description', '' );
> $f_steps_to_reproduce = gpc_get_string( 'steps_to_reproduce', '' );
> $f_additional_info = gpc_get_string( 'additional_info', '' );
> $f_view_state = gpc_get_int( 'view_state', config_get( 'default_bug_view_status' ) );
101,102c55
< html_page_top1( lang_get( 'report_bug_link' ) );
< html_page_top2();
---
> $t_project_id = helper_get_current_project();
103a57,58
>
>
114d68
<
121,122c75
< print_bracket_link( 'bug_report_page.php' .
< ( $f_master_bug_id > 0 ? '?m_id=' . $f_master_bug_id : '' ), lang_get( 'simple_report_link' ) );
---
> print_bracket_link( 'bug_report_page.php', lang_get( 'simple_report_link' ) );
249,250c202,203
< $t_show_version = ( ON == config_get( 'show_product_version' ) )
< || ( ( AUTO == config_get( 'show_product_version' ) )
---
> $t_show_version = ( ON == config_get( 'show_product_version' ) )
> || ( ( AUTO == config_get( 'show_product_version' ) )
252c205
< if ( $t_show_version ) {
---
> if ( $t_show_version ) {
266c219
< }
---
> }
363c316
< $t_custom_fields_found = true;
---
> $t_custom_fields_found = true;
370c323
<
---
>
diff ./bug_report_page.php ../mantisbt/bug_report_page.php
11c11,12
<
---
> ?>
> ?>
> ?>
> 0 ) {
< # master bug exists...
< bug_ensure_exists( $f_master_bug_id );
<
< # master bug is not read-only...
< if ( bug_is_readonly( $f_master_bug_id ) ) {
< error_parameters( $f_master_bug_id );
< trigger_error( ERROR_BUG_READ_ONLY_ACTION_DENIED, ERROR );
< }
<
< # the user can at least update the master bug (needed to add the relationship)...
< access_ensure_bug_level( config_get( 'update_bug_threshold' ), $f_master_bug_id );
<
< $t_bug = bug_prepare_display( bug_get( $f_master_bug_id, true ) );
<
< $f_product_version = $t_bug->version;
< $f_category = $t_bug->category;
< $f_reproducibility = $t_bug->reproducibility;
< $f_severity = $t_bug->severity;
< $f_priority = $t_bug->priority;
< $f_summary = $t_bug->summary;
< $f_description = $t_bug->description;
< $f_additional_info = $t_bug->additional_information;
< $f_view_state = $t_bug->view_state;
<
< $t_project_id = $t_bug->project_id;
<
< if( $t_project_id != helper_get_current_project() ) {
< # in case the current project is not the same project of the bug we are cloning...
< # ...se set on fly the current project. This to avoid problems with categories and handlers lists etc.
< $t_redirect_url = "set_project.php?project_id=" . $t_project_id .
< "&make_default=no&ref=" . urlencode( "bug_report_page.php?m_id=" . $f_master_bug_id );
< print_header_redirect( $t_redirect_url );
< }
< }
< else {
< $f_product_version = gpc_get_string( 'product_version', '' );
< $f_category = gpc_get_string( 'category', '' );
< $f_reproducibility = gpc_get_int( 'reproducibility', 0 );
< $f_severity = gpc_get_int( 'severity', config_get( 'default_bug_severity' ) );
< $f_priority = gpc_get_int( 'priority', config_get( 'default_bug_priority' ) );
< $f_summary = gpc_get_string( 'summary', '' );
< $f_description = gpc_get_string( 'description', '' );
< $f_additional_info = gpc_get_string( 'additional_info', '' );
< $f_view_state = gpc_get_int( 'view_state', config_get( 'default_bug_view_status' ) );
<
< $t_project_id = helper_get_current_project();
< }
---
> $f_product_version = gpc_get_string( 'product_version', '' );
> $f_category = gpc_get_string( 'category', '' );
> $f_reproducibility = gpc_get_int( 'reproducibility', 0 );
> $f_severity = gpc_get_int( 'severity', config_get( 'default_bug_severity' ) );
> $f_priority = gpc_get_int( 'priority', config_get( 'default_bug_priority' ) );
> $f_summary = gpc_get_string( 'summary', '' );
> $f_description = gpc_get_string( 'description', '' );
> $f_additional_info = gpc_get_string( 'additional_info', '' );
> $f_view_state = gpc_get_int( 'view_state', config_get( 'default_bug_view_status' ) );
85,86c47
< html_page_top1( lang_get( 'report_bug_link' ) );
< html_page_top2();
---
> $t_project_id = helper_get_current_project();
87a49,50
>
>
98d60
<
106,107c68
< print_bracket_link( 'bug_report_advanced_page.php' .
< ( $f_master_bug_id > 0 ? '?m_id=' . $f_master_bug_id : '' ), lang_get( 'advanced_report_link' ) );
---
> print_bracket_link( 'bug_report_advanced_page.php', lang_get( 'advanced_report_link' ) );
174,175c135,136
< $t_show_version = ( ON == config_get( 'show_product_version' ) )
< || ( ( AUTO == config_get( 'show_product_version' ) )
---
> $t_show_version = ( ON == config_get( 'show_product_version' ) )
> || ( ( AUTO == config_get( 'show_product_version' ) )
177c138
< if ( $t_show_version ) {
---
> if ( $t_show_version ) {
191c152
< }
---
> }
256c217
<
---
>
Common subdirectories: ./core and ../mantisbt/core
Common subdirectories: ./css and ../mantisbt/css
Common subdirectories: ./doc and ../mantisbt/doc
Common subdirectories: ./graphs and ../mantisbt/graphs
Common subdirectories: ./images and ../mantisbt/images
Common subdirectories: ./javascript and ../mantisbt/javascript
Common subdirectories: ./lang and ../mantisbt/lang
Common subdirectories: ./packages and ../mantisbt/packages
Only in .: patch.diff.txt
Common subdirectories: ./sql and ../mantisbt/sql