Scott thanks for looking into this. The source seems ok as written so far:
my $product = new Bugzilla::Product( { name => $product_name } );
my $version = new Bugzilla::Version( $product->id, $tag_name );
$version->remove_from_db;
I looked up the Version and Product interfaces at:
http://www.bugzilla.org/docs/tip/html/api/
And I'm not sure how else it could be written.
Dmitri ??
On Mon, 2007-09-10 at 18:08 -0500, Scott McNally wrote:
> Doing some changing of our svn /scmbug setup. The issue with delete
> tag is that it passes the Product ID instead of the version ID into
> the constructor of Bugzilla::Version. Some form of sql call needs to
> be made to grab the correct version id.
>
>
>
> “SELECT id FROM versions WHERE product_id = ? AND value = ? “
>
>
>
>
>
> -Scott McNally
>
> Development Manager
>
> P2P Engineering
>
> 850-607-6161
>
>
>
>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
