View Issue Details

IDProjectCategoryView StatusLast Update
0010562mantisbtprintingpublic2009-06-23 15:28
ReporterJimi_Joma Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.1.7 
Fixed in Version1.2.0rc1 
Summary0010562: Printing Bug does not work with configuration $g_show_view= SIMPLE_ONLY;
Description

We did some custom configuration to use Mantis for Bugtracking. Everything works fine except changing the variable $g_show_view from $g_show_view=BOTH into #$g_show_view= SIMPLE_ONLY; in config_defaults_inc.php file. Doing this change it is not possible to print out a bug. Pressing the Button "Print" seem to be disabled, nothing happen, not even the "report-overview" is generated.
Change the variable to advanced_only or Both printing works fine.

Steps To Reproduce

Download Mantis 1.1.7 and XAMPP. "Install" Mantis into htdocs folder. Create a new project and a category. Enter a new bug. Go to "View Issues" and choose one of them and press the button print on the right upper corner.

TagsNo tags attached.

Relationships

parent of 0010570 closedvboctor Printing Bug does not work with configuration $g_show_view= SIMPLE_ONLY; 

Activities

vboctor

vboctor

2009-06-05 03:37

manager   ~0022049

I haven't tested it, but try removing the following check from the print_bug_page.php:

if ( SIMPLE_ONLY == $g_show_view ) {
print_header_redirect ( 'bug_view_page.php?bug_id='.$f_bug_id );
}

Jimi_Joma

Jimi_Joma

2009-06-06 06:20

reporter   ~0022054

Removing this piece of sourcecode makes it possible to print out bugs in SIMPLE_ONLY View.

Thanks for your help.

Related Changesets

MantisBT: master 87866cd5

2009-06-07 13:47

vboctor


Details Diff
Fixes 0010562: Printing Bug does not work with configuration = SIMPLE_ONLY; Affected Issues
0010562
mod - print_bug_page.php Diff File

MantisBT: master-1.1.x 37cacc04

2009-06-07 13:47

vboctor


Details Diff
Fixes 0010562: Printing Bug does not work with configuration = SIMPLE_ONLY;

<span class="signoff">Signed-off-by: John Reese <jreese@leetcode.net></span>
Affected Issues
0010562
mod - print_bug_page.php Diff File