Project

General

Profile

Actions

Defect #1409

closed

Prevent adding of files if no version is defined

Added by Andreas Deininger over 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
-
Start date:
2008-06-09
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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

Related to Redmine - Defect #1053: Unable to upload file via file menu due to version filed.Closed2008-04-13

Actions
Actions #1

Updated by Anonymous over 16 years ago

Yep, we've been hit by this.

Actions #2

Updated by Matt Haley over 16 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.

Actions #3

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...

Actions

Also available in: Atom PDF