Testing: Add testcases for the rest of the enums. All tests pass.
Testing: Merge through [6773] from trunk. All tests pass.
Testing: Add FAILING testcase for duplicate priorities.
Fix handling of duplicate priorities.
Testing: Merge through [6770] from trunk. All tests pass.
Testing: Add a FAILING testcase for duplicate versions.
Fix handling of duplicate versions
Revert last change; it was a revert of a previous change, not the intended one.
Testing: Merge through [6765] from trunk. All tests pass.