Hi there,

got another Problem.
Using Bugzilla 4. When I commit a test i get:

** Scmbug error 7: Bug '1' is in the 'IN_PROGRESS' state, instead of the '' or 
'' states.

Perhaps there is a problem fetching the valud resolution states?

Bugtracker.pm#392:

sub valid_resolution_states_list {
    my $self = shift;
    my ( $bug_status, $bug_status_map ) = ( @_ );
    my $list = "";
    my $count = 0;

    foreach my $resolution_state ( @{ $bug_status_map->{ $bug_status }->{ 
possible_resolution_states } } ) {
        $count++;
        if ( $count > 1) {
            $list .= " or ";
        }
        $list .= "'" . $resolution_state . "'";
    }

    if ( $count == 0 ) {
        $list .= '';
    } elsif ( $count == 1 ) {
        $list .= " state";
    } else {
        $list .= " states";
    }

    return $list;
}


Mit freundlichen Grüßen / Kind regards
Michel Pittelkow

Via Outlook Webaccess
_______________________________________________
scmbug-users mailing list
scmbug-users@lists.mkgnu.net
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to