Open Bug 481856 Opened 16 years ago Updated 15 years ago

Environment properties got all the same property_id

Categories

(Testopia :: User Interface, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: rwalter, Assigned: gregaryh)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 Build Identifier: 2.2 Insertion of more than one property item in the mask for editing the environment items fails, as all property items in the database got the same primary key value '0' in the database field 'test_environment_property.property_id'. Reproducible: Always Actual Results: All property items in the database have the same value 'test_environment_property.property_id'=0. Expected Results: Property items get a unique primary key.
Possible workaround: I solved the problem by running the following SQL on my BZ install (AUTO_INCREMENT), didn't seem to break anything else. ALTER TABLE `bugs`.`test_environment_property` MODIFY COLUMN `property_id` INT(11) NOT NULL AUTO_INCREMENT;
You need to log in before you can comment on or make changes to this bug.