https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292008-05-09T10:23:15ZRedmineRedmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=26962008-05-09T10:23:15ZTadeusz Zimirski
<ul><li><strong>Target version</strong> set to <i>0.7.1</i></li></ul><p>I have the same problem with 0.7.1 (from rubyforge).</p>
<p>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).</p>
<p>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).</p>
<p>In the Administration -> Information section, "File repository writable" = true</p> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=26972008-05-09T10:23:49ZTadeusz Zimirski
<ul><li><strong>Target version</strong> deleted (<del><i>0.7.1</i></del>)</li></ul> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=27022008-05-11T16:08:20ZTadeusz Zimirski
<ul></ul><p>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).</p>
<p>So, I have an usability suggestion which may improve the "out of the box" redmine experience of newbie users :)</p>
<p>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.</p>
<p>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) ?</p>
<p>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:)</p> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=34122008-06-18T13:44:53ZJon Williams
<ul></ul><p>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.</p>
<p>Perhaps when a new project is created a default version is created so users can upload files straight away?</p> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=34142008-06-18T14:56:36ZF T
<ul></ul><p>I confirm this bug. Redmine 0.7.1, ruby 1.8.5 (2006-08-25) [x86_64-linux]</p> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=42992008-08-12T00:15:29Zcolin moock
<ul></ul><p>i just ran into this too. i think it redmine shouldn't require a version for file uploads.</p> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=59902008-12-08T08:41:08ZMischa The Evil
<ul><li><strong>Category</strong> set to <i>Attachments</i></li></ul><p>Up to the current <code>0.8.0</code> this issue still exists.</p>
<p>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.</p>
<p>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...</p> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=59922008-12-08T08:52:58ZMischa The Evil
<ul></ul><p>I've now tested the patch provided in issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: File module will upload file even when no Version is specified, and appear successful. (Closed)" href="https://www.redmine.org/issues/602">#602</a> on Redmine 0.8.0-RC1 and it still works...</p>
<p>It looks to me that it is the fix for this issue when the design isn't going to be modified. See also my <a href="http://www.redmine.org/issues/show/602#note-3" class="external">note</a> on issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: File module will upload file even when no Version is specified, and appear successful. (Closed)" href="https://www.redmine.org/issues/602">#602</a>...</p>
<p>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 <a href="http://www.redmine.org/boards/2/topics/show/3217#message-3237" class="external">forum-thread</a>.</p> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=60152008-12-08T19:52:48ZBrad Schick
<ul></ul><p>Mischa The Evil wrote:</p>
<blockquote>
<p>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 <a href="http://www.redmine.org/boards/2/topics/show/3217#message-3237" class="external">forum-thread</a>.</p>
</blockquote>
<p>Yes that is correct in my case. We aren't using versions but would like to us the File module.</p>
<p>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.</p> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=60202008-12-09T02:39:18ZLachlan Musicman
<ul></ul><p>Brad Schick wrote:</p>
<blockquote>
<p>Mischa The Evil wrote:</p>
<blockquote>
<p>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 <a href="http://www.redmine.org/boards/2/topics/show/3217#message-3237" class="external">forum-thread</a>.</p>
</blockquote>
<p>Yes that is correct in my case. We aren't using versions but would like to us the File module.</p>
</blockquote>
<p>+1 to this. We are using redmine for run of the mill project management, with no svn attached. Would like to upload versionless files.</p>
<p>cheers</p> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=60332008-12-09T18:07:47ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>Fixed in <a class="changeset" title="Files module: makes version field non required (#1053)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2117">r2117</a>.<br />Version field is no longer required. And this field is hidden if no version is defined.</p>
<p>This functionality depends on some refactoring done in <a class="changeset" title="AttachmentsController now handles attachments deletion." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2116">r2116</a> so I'm sure it will be added to 0.8.0 release.</p> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=63612008-12-30T13:29:27ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Target version</strong> set to <i>0.8.1</i></li></ul> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=63682008-12-30T13:33:54ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=63792008-12-30T23:12:07ZMischa The Evil
<ul></ul><p>Jean-Philippe Lang wrote:</p>
<blockquote>
<p>This functionality depends on some refactoring done in <a class="changeset" title="AttachmentsController now handles attachments deletion." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2116">r2116</a> so I'm sure it will be added to 0.8.0 release.</p>
</blockquote>
<blockquote>
<ul>
<li><strong>Target version</strong> set to <em>0.8.1</em></li>
</ul>
</blockquote>
<p>Currently (31-12-2008) <a class="changeset" title="AttachmentsController now handles attachments deletion." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2116">r2116</a> (still) isn't merged into the <code>0.8-stable branch</code>. Don't know if it's intended, forgotten, planned or whatsoever. If it will be merged then issue <a class="issue tracker-2 status-5 priority-4 priority-default closed behind-schedule" title="Feature: Option to delete forum attachments (message files) (Closed)" href="https://www.redmine.org/issues/1792">#1792</a> imho could be re-targetted to version <code>0.8.1</code> too.<br />If it is indeed intended not to merge this changeset (<a class="changeset" title="AttachmentsController now handles attachments deletion." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2116">r2116</a>) into the <code>0.8-stable branch</code>, this issue should imho be re-targetted to version <code>0.9</code>...</p> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=63902008-12-31T08:24:39ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Oh, sorry. You should have read:</p>
<blockquote>
<p>This functionality depends on some refactoring done in <a class="changeset" title="AttachmentsController now handles attachments deletion." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2116">r2116</a> so I'm <strong>not</strong> sure it will be added to 0.8.0 release.</p>
</blockquote>
<p>It will be merged soon in 0.8 branch.</p> Redmine - Defect #1053: Unable to upload file via file menu due to version filed.https://www.redmine.org/issues/1053?journal_id=63982008-12-31T11:38:10ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Merged in <a class="changeset" title="Merged r2116, r2117 and r2187 from trunk." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2217">r2217</a>.</p>