lib/CrashTest/Controller/CrashReports.pm
changeset 120 1a0fa98037fa
parent 106 97bf7ebb6e44
child 121 5a99941ed0ca
equal deleted inserted replaced
119:0a9171619fd3 120:1a0fa98037fa
    59         $thread = $self->app->stackfilter->apply($thread);
    59         $thread = $self->app->stackfilter->apply($thread);
    60         push @threads, $thread;
    60         push @threads, $thread;
    61     }
    61     }
    62     $self->stash(threads => \@threads);
    62     $self->stash(threads => \@threads);
    63 
    63 
       
    64     my $report = $self->app->crash_reports->get($uuid);
       
    65     $self->stash(crash => $report);
       
    66 
       
    67     my $bugs_status = {};
       
    68     if(defined($report) && defined($report->{bug_links})) {
       
    69         $bugs_status = $self->app->bug_link->get_statuses($report->{bug_links});
       
    70     }
       
    71     $self->stash(bugs_status => $bugs_status);
    64     my $group = $self->app->crash_groups->get($uuid);
    72     my $group = $self->app->crash_groups->get($uuid);
    65     $self->stash(crash_group => $group);
    73     $self->stash(crash_group => $group);
    66     $self->stash(extra_columns => $self->app->config->{WebInterface}->{ExtraColumns}->{Index});
    74     $self->stash(extra_columns => $self->app->config->{WebInterface}->{ExtraColumns}->{Index});
    67 
    75 
    68     $self->render("report/crash");
    76     $self->render("report/crash");