Classification

Kevin Benton kevin.benton at amd.com
Tue Nov 23 16:40:26 UTC 2004


No, there are no components for those products.

BTW - I just did some debug printing and got to
globals.pl:IsInClassification() and found that for some reason, it is not
getting called when the product actually is in the classification.

        my $query = "SELECT classifications.name " .
          "FROM products,classifications " .
            "WHERE products.classification_id=classifications.id ";
        $query .= "AND products.name = " . SqlQuote($productname);
        if (($productname ne 'Product1') &&
            ($productname ne 'Product2') &&
            ($productname ne 'Product3')) {
            print("Content-type: text/html\n\n\nMade it here.
c=$classification, p=$productname,<BR>q=$query\n"); exit;
        }
        PushGlobalSQLState();

So, if Products 1, 2, and 3 are in the Platform classification, and Products
4 and 5 are in the Tools classification, when I select Tools as the
classification to add a new ticket in, I'm not seeing this routine print
"Made it here." ever.

This is confusing.  Anyone have any suggestions?

-----Original Message-----
From: developers-owner at bugzilla.org [mailto:developers-owner at bugzilla.org]
On Behalf Of Jon Tollefson
Sent: Tuesday, November 23, 2004 9:04 AM
To: developers at bugzilla.org
Subject: Re: Classification

Do you have components defined for those products?
Jon

On Tue, 2004-11-23 at 09:39, Kevin Benton wrote:
> Actually, now I am more confused.  I added two new products to a new
> classification, gave myself permissions for the new products, and now
> I am trying to enter bugs against the new products, but it's coming
> back "Either not products have been defined to enter bugs against or
> you have not been given access to any."  I did remove the groups
> created for the new products so they would be publicly viewable.
> 
>  
> 
>                                    
> ______________________________________________________________________
> 
> From:developers-owner at bugzilla.org
> [mailto:developers-owner at bugzilla.org] On Behalf Of Kevin Benton
> Sent: Tuesday, November 23, 2004 8:16 AM
> To: developers at bugzilla.org
> Subject: Re: Classification
> 
> 
>  
> 
> My fault - a misunderstanding.  I had all the products in one
> classification, so asking for the classification was not necessary at
> the moment.  As soon as I added a new classification, it asked me for
> the classification.
> 
>  
> 
>                                    
> ______________________________________________________________________
> 
> From: developers-owner at bugzilla.org
> [mailto:developers-owner at bugzilla.org] On Behalf Of Gregary Hendricks
> Sent: Monday, November 22, 2004 5:46 PM
> To: kevin.benton at amd.com; developers at bugzilla.org
> Subject: Re: Classification
> 
> 
>  
> 
> You need to put products into your classifications. As admin click the
> classifications link in the footer and set up a classification. Then
> make sure to add some products to that classification.
> 
> >>>kevin.benton at amd.com 11/22/04 3:57 pm >>>
> 
> 
> This is a cool feature, however, I wonder if I'm doing something
> wrong.  I turned on the classifications, but when I attempt to add a
> new bug, it doesn't ask me for the classification before it asks me
> for the product in 2.19.1.  Am I missing something?
> 
> 
>  
> 
> Kevin Benton
> 
> 
> Perl/Bugzilla Developer
> 
> 
> Advanced Micro Devices

-
To view or change your list settings, click here:
<http://bugzilla.org/cgi-bin/mj_wwwusr?user=kevin.benton@amd.com>






More information about the developers mailing list