Prevent adding of files if no version is defined
How to reprdouce:
For a project, that does not have any versions defined, try to add a new file:
Choose a file and click the "Add"-button.
You are redirected to the file list, though no file was added. This is confusing.
Proposed solution: Add a validation checking whether a version was defined. In case there is no version defined, show an appropriate error message while trying to add a file. Or simply block access to the submit form, showing a message:
Prior to submitting files, you have to define a version first (or so).
#2 Updated by Matt Haley about 12 years ago
Here is a patch that displays a notice at the top of the page if no versions have been created in the project. Created against r1704.