Project

General

Profile

Actions

Defect #1053

closed

Unable to upload file via file menu due to version filed.

Added by Anonymous over 16 years ago. Updated almost 16 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I am unable to upload file via file menu. After some debugging i have discovered that required filed version is empty in this menu.
Did some one know how that could happen? I am using r1349. With git 1.5.3.8 as scm. The database is MySQL 5.0.51a


Related issues

Related to Redmine - Defect #602: File module will upload file even when no Version is specified, and appear successful.Closed2008-02-04

Actions
Related to Redmine - Defect #1409: Prevent adding of files if no version is definedClosed2008-06-09

Actions
Has duplicate Redmine - Defect #1417: unable to attach files to projects without a versionClosed2008-06-10

Actions
Has duplicate Redmine - Defect #2297: File uploads fail without versionsClosed2008-12-08

Actions
Has duplicate Redmine - Defect #1980: silent failure when uploading file when no version specifiedClosed2008-10-02

Actions
Has duplicate Redmine - Feature #853: Remove version requirement for file uploadsClosed2008-03-14

Actions
Actions #1

Updated by Tadeusz Zimirski over 16 years ago

  • Target version set to 0.7.1

I have the same problem with 0.7.1 (from rubyforge).

File upload for issues works fine, but the "Files" menu at /projects/add_file/project-name doesn't. The "version" field is a dropdown list with no values, and it's marked with an asterisk (required).

After "Add" is pressed, the request is processed for quite some time and then the user is redirected to projects/list_files/project-name, with no flash message (no error message / no confirmation message).

In the Administration -> Information section, "File repository writable" = true

Actions #2

Updated by Tadeusz Zimirski over 16 years ago

  • Target version deleted (0.7.1)
Actions #3

Updated by Tadeusz Zimirski over 16 years ago

Sorry for the confusion - my problems only arised because of my lack of familiarity with the tool (no version was present in the project). However, the application behaviour was quite enigmatic - as there was no flash after unsuccessful upload (I had no idea what prevents redmine to accept the file).

So, I have an usability suggestion which may improve the "out of the box" redmine experience of newbie users :)

I think it would be useful to add a flash message after unsuccessful file upload with the description of the reason why the action failed. Also, in case of missing version id (which is only possible to select from the UI when no version is created), the error description could mention that you cannot add files until a project version is created.

Alternatively, a more "general" solution to the possible "version required" confusion: how about forcing the user who creates the project to give the name for the initial version (so that there never exists a project without a version) ?

Thanks a lot for the great work - I've been using redmine for only a couple days now and I find it awesome! (recommending it to friends and at work already:)

Actions #4

Updated by Jon Williams over 16 years ago

This does indeed cause some confusion, several of my users are baffled when they cannot upload new files into a project and receive no notification informing them.

Perhaps when a new project is created a default version is created so users can upload files straight away?

Actions #5

Updated by F T over 16 years ago

I confirm this bug. Redmine 0.7.1, ruby 1.8.5 (2006-08-25) [x86_64-linux]

Actions #6

Updated by colin moock about 16 years ago

i just ran into this too. i think it redmine shouldn't require a version for file uploads.

Actions #7

Updated by Mischa The Evil almost 16 years ago

  • Category set to Attachments

Up to the current 0.8.0 this issue still exists.

Files can be uploaded without having at least one version without getting a notice about the failure. Patches (working with 0.8?) for this behaviour exists and are providing a notice about the version-requirement. I've related them to this issue.

Though, as readable in the duplicates of this issue, it is debatable if the version-requirement is really necessary. This is really a design-issue...

Actions #8

Updated by Mischa The Evil almost 16 years ago

I've now tested the patch provided in issue #602 on Redmine 0.8.0-RC1 and it still works...

It looks to me that it is the fix for this issue when the design isn't going to be modified. See also my note on issue #602...

Side-note: I "think" that a design-change is wanted by the people who don't use Redmine for version/milestone-based projects. See for example this forum-thread.

Actions #9

Updated by Brad Schick almost 16 years ago

Mischa The Evil wrote:

Side-note: I "think" that a design-change is wanted by the people who don't use Redmine for version/milestone-based projects. See for example this forum-thread.

Yes that is correct in my case. We aren't using versions but would like to us the File module.

But we are also considering Redmine for a larger software project that would have versions, and even then we don't want file uploads to require a version. Let's say we have versions; beta1, beta2, rc1, etc. Then I have a corporate overview presentation I want to upload to the files area. Why should that be tied to a specific version of a software release? Yes, it could go in Documents or a Wiki, but those areas are sometimes more than you need to just share a file with a group.

Actions #10

Updated by Lachlan Musicman almost 16 years ago

Brad Schick wrote:

Mischa The Evil wrote:

Side-note: I "think" that a design-change is wanted by the people who don't use Redmine for version/milestone-based projects. See for example this forum-thread.

Yes that is correct in my case. We aren't using versions but would like to us the File module.

+1 to this. We are using redmine for run of the mill project management, with no svn attached. Would like to upload versionless files.

cheers

Actions #11

Updated by Jean-Philippe Lang almost 16 years ago

  • Status changed from New to Resolved

Fixed in r2117.
Version field is no longer required. And this field is hidden if no version is defined.

This functionality depends on some refactoring done in r2116 so I'm sure it will be added to 0.8.0 release.

Actions #12

Updated by Jean-Philippe Lang almost 16 years ago

  • Target version set to 0.8.1
Actions #13

Updated by Jean-Philippe Lang almost 16 years ago

  • Status changed from Resolved to Closed
Actions #14

Updated by Mischa The Evil almost 16 years ago

Jean-Philippe Lang wrote:

This functionality depends on some refactoring done in r2116 so I'm sure it will be added to 0.8.0 release.

  • Target version set to 0.8.1

Currently (31-12-2008) r2116 (still) isn't merged into the 0.8-stable branch. Don't know if it's intended, forgotten, planned or whatsoever. If it will be merged then issue #1792 imho could be re-targetted to version 0.8.1 too.
If it is indeed intended not to merge this changeset (r2116) into the 0.8-stable branch, this issue should imho be re-targetted to version 0.9...

Actions #15

Updated by Jean-Philippe Lang almost 16 years ago

Oh, sorry. You should have read:

This functionality depends on some refactoring done in r2116 so I'm not sure it will be added to 0.8.0 release.

It will be merged soon in 0.8 branch.

Actions #16

Updated by Jean-Philippe Lang almost 16 years ago

  • Resolution set to Fixed

Merged in r2217.

Actions

Also available in: Atom PDF