Defect #1409
closedPrevent adding of files if no version is defined
0%
Description
How to reprdouce:
For a project, that does not have any versions defined, try to add a new file:
http://forge.stiegele.eu/projects/add_file/my_project
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).
Files
Related issues
Updated by Matt Haley over 16 years ago
- File notice_on_attach_without_version_07262008_r704.diff notice_on_attach_without_version_07262008_r704.diff added
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.
Updated by Mischa The Evil almost 16 years ago
- Category set to Attachments
- Status changed from New to Closed
This is fixed/implemented in 0.8.1
, thus issue closed...