Bug 7448

Summary: PACKAGE_CLASSES variable does not show current value when editing
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: David Reyna <david.reyna>
Status: VERIFIED FIXED QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: normal    
Priority: Low CC: alexandru.costinx.roman, alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, jessica.zhang
Version: unspecified   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Belen Barros Pena 2015-03-12 10:51:48 UTC
Steps to reproduce:

* Create a Toaster project and go to the configuration variables page. The PACKAGE_CLASSES variable is set to package_rpm
* Click the change button

package_rpm is not selected in the dropdown menu: package_deb is. 

There seems to be something going on with the package_rpm option. The edit state of the PACKAGE_CLASSES variable will reflect the current value of the variable if package_rpm is not selected as the main package class. To see what I mean, set the value of PACKAGE_CLASSES to package_ipk in the dropdown menu, then click the package_rpm checkbox and click 'Save'. Then click the 'Change' icon again: package_ipk is selected in the dropdown menu and the package_rpm checkbox is checked. This is the expected behaviour.

Now, change the value of the dropdown menu to package_rpm, then click the package_deb checkbox and click "save". Then click the "change" icon again: package_rpm is selected in the dropdown menu, but the package_ipk checkbox is NOT checked.
Comment 1 Alexandru Roman 2015-11-26 15:36:04 UTC
Verified.