In Bugzilla.pm/integration_delete_tag the contructor of Bugzilla::Version is called with wrong parameters at the moment.
I think following code should fix the issue on deleting a tag.


sub integration_delete_tag {
    my $self = shift;
    my ( $product_name, $tag_name ) = ( @_ );

    if ( $self->is_version_latest() ) {
my $product = new Bugzilla::Product( { name => $product_name } ); my $version = new Bugzilla::Version({ product => $product, name => $tag_name });
        $version->remove_from_db;
    } else {
................


Oliver Schäfer


_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to