Closed Bug 419524 Opened 16 years ago Closed 16 years ago

Selecting Builds without a product selected throws error, then allows creation of build without product

Categories

(Testopia :: User Interface, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bradh, Assigned: gregaryh)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.8 (like Gecko)
Build Identifier: CVS

If you select the Builds tab without previously selecting a product, then you get an error message ("Please select a product") - will attach screenshot

If you then click OK, it brings up the Builds frame, and you can then create a new Build. However when the Build is to be saved, there is another error because there is no product_id to associate this with - will attach screenshot of that too.



Reproducible: Always




Perhaps there should be a pop-up dialog (with a tree, or a combobox, or list) that enforces selection of a product.

Alternatively, if there is no product selected, then disable creation of new builds.
An easy way to product this is to select the Builds tab, then exit the browser. When you log back in and select the Testopia dashboard, this will appear.
This problem also occurs with Categories - the code appears very similar.
This is fixed now. 
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: