Description of problem: It is possible that project has project-type, while its version has not. If that is the case, in project version view, the project-type shows its parent's project-type, while zanata.xml does not include such information. Version-Release number of selected component (if applicable): Zanata version 3.2-SNAPSHOT (20131114-0037) How reproducible: Always, if Bug 1030166 is not fixed. Steps to Reproduce: 1. Create a project without project-type 2. Create a version (VER1) of that project without project-type 3. Go to project view, click "Edit project" 4. Change project type to "podir", and click "Update" 5. Go to the version VER1 6. Click "Config file" Actual results: After step 5, the project-type of project version VER1 is podir After step 6, the project-type in zanata.xml is undefined. Expected results: After step 5, the project-type of project version VER1 is podir After step 6, the project-type in zanata.xml is podir. Additional info:
Also: In this situation, actions like download as ZIP are disabled too, even though the project iteration type *appears* to be set in the GUI.
If the Project Version's projectType is not set, it should be shown as blank/null in the Edit Version page. It should not simply show the Project's type, because that is misleading. (The blank projectType could be supplemented with a note to remind the user what the Project's projectType is.)
I think Luke's changes to the project pages handle some of the above. Changing the behaviour of this bug would be contrary to the original design, assuming No Selection is a valid type.
*** Bug 959813 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 1088737 ***