https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-01-25T18:26:03ZRedmineRedmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=244662011-01-25T18:26:03ZEtienne Massip
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>Closed as duplicate of <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Add 'affected version' as a standard field (Closed)" href="https://www.redmine.org/issues/1675">#1675</a></p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=244672011-01-25T18:27:21ZBrian Lindahl
<ul></ul>This version has the following improvements over the version I originally uploaded in <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: New Custom Field "Found in Version" (Closed)" href="https://www.redmine.org/issues/685">#685</a> and <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Add 'affected version' as a standard field (Closed)" href="https://www.redmine.org/issues/1675">#1675</a>:
<ul>
<li>stronger validation</li>
<li>support for bulk edit</li>
<li>support for move/copy</li>
<li>support for xml builder</li>
<li>support for mailer</li>
<li>db migration (chose date as last migration in 1.0.4 +1 second)</li>
<li>bug fix for project copy (found version was not copied)</li>
</ul> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=244732011-01-25T18:45:42ZEtienne Massip
<ul></ul><p>You should add your patch to <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Add 'affected version' as a standard field (Closed)" href="https://www.redmine.org/issues/1675">#1675</a> as well together with the improvements list</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=244782011-01-25T19:27:17ZBrian Lindahl
<ul></ul><p>I'd rather not maintain multiple issues (since this is also related to <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: New Custom Field "Found in Version" (Closed)" href="https://www.redmine.org/issues/685">#685</a>). All updates to my patch will be stored here. Hopefully the created relation will bring others to this patch issue to get the latest updates.</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=244822011-01-25T19:51:15ZBrian Lindahl
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>Also, shouldn't the patch issue only be closed when it gets brought in into the trunk, or that the maintainer of the patch is no longer supporting it?</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=245322011-01-26T21:09:45ZBrian Lindahl
<ul><li><strong>File</strong> <a href="/attachments/5217">found-version-1.1.0.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5217/found-version-1.1.0.patch">found-version-1.1.0.patch</a> added</li></ul><p>patch migrated to Redmine 1.1.0</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=245372011-01-26T21:18:34ZBrian Lindahl
<ul><li><strong>File</strong> <a href="/attachments/5222">collision-1.1.0.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5222/collision-1.1.0.patch">collision-1.1.0.patch</a> added</li></ul><p>Use this patch file to fix-up collisions when using this found-version patch with my other patches (<a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Patch for improved issue edit permissions (Closed)" href="https://www.redmine.org/issues/7444">#7444</a>, <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Patch for improved repository commit auto-updates (Closed)" href="https://www.redmine.org/issues/7445">#7445</a>, <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Patch for bulk-edit of parent-id (Closed)" href="https://www.redmine.org/issues/7446">#7446</a>, <a class="issue tracker-3 status-1 priority-4 priority-default" title="Patch: Patch for improved move/copy (New)" href="https://www.redmine.org/issues/7447">#7447</a>).</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=246772011-01-30T16:21:17ZAnonymous
<ul></ul><p>Unfortunately, after applying the "found-version-1.1.0" patch to the Redmine 1.1.0 sorting and grouping by "target_version" field in issue list stops working.</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=247052011-01-31T16:29:29ZBrian Lindahl
<ul><li><strong>File</strong> <a href="/attachments/5261">ss.JPG</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5261/ss.JPG">ss.JPG</a> added</li></ul><p>Can you take a screenshot? Sorting/grouping by target_version works just fine for me - maybe try clearing your cache?</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=247112011-01-31T19:37:13ZAnonymous
<ul><li><strong>File</strong> <a href="/attachments/5263">ss2.mht</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5263/ss2.mht">ss2.mht</a> added</li></ul><p>The reason is most likely in wrong database migration that I have made. I executed SQL-command<br />"ALTER TABLE issues ADD COLUMN found_version_id integer". I didn't found how to perform database migration correctly.</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=247142011-01-31T20:47:41ZBrian Lindahl
<ul><li><strong>File</strong> <a href="/attachments/5264">found-version-1.1.0.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5264/found-version-1.1.0.patch">found-version-1.1.0.patch</a> added</li></ul><p>Your SQL-command looks correct for the database migration (the only thing left out was the adding the index - this shouldn't affect anything, as far as I know?).</p>
<p>When I upgraded the patch to support Redmine 1.1.0, it looks like the database migration code (for rake db:migrate) was accidentally left out. I've attached a new 1.1.0 patch that includes the database migration file. Again, the db migration file is set to +1 second after the last database migration in Redmine 1.1.0.</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=250962011-02-11T00:17:14ZBrian Lindahl
<ul><li><strong>File</strong> <a href="/attachments/5358">found-version-1.1.0.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5358/found-version-1.1.0.patch">found-version-1.1.0.patch</a> added</li></ul><a name="Bugfix2"></a>
<h3 >Bugfix2<a href="#Bugfix2" class="wiki-anchor">¶</a></h3>
<p>The deletion of versions that are in-use as a 'Fixed version' is disabled. This bugfix also disables the deletion of versions that are in-use as a 'Found in version'.</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=251912011-02-14T17:09:17ZBrian Lindahl
<ul><li><strong>File</strong> <a href="/attachments/5396">found-version-1.1.0.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5396/found-version-1.1.0.patch">found-version-1.1.0.patch</a> added</li></ul><a name="Bugfix3"></a>
<h3 >Bugfix3<a href="#Bugfix3" class="wiki-anchor">¶</a></h3>
<p>Accidentally removed allowing a 'Fixed version' to stay the same, even if the version becomes locked.</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=259752011-03-06T06:44:49ZMike Spross
<ul><li><strong>File</strong> <a href="/attachments/5517">found-version-1.1.0.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5517/found-version-1.1.0.patch">found-version-1.1.0.patch</a> added</li></ul><p><strong>Bugfix4</strong></p>
<p>There's a minor bug in the migration script: the <code>AddFoundInVersion</code> migration should be renamed to <code>AddFoundVersion</code>, otherwise <code>rake db:migrate</code> errors out due to the mismatch between the migration filename and the class name.</p>
<p>I've added a new version of the patch file with this change (since it was such a minor change I just edited the latest patch file by hand).</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=259762011-03-06T07:08:03ZMike Spross
<ul></ul><p>Also, I appreciate the time and effort you put into this, Brian. I've also been scratching my head as to why this hasn't be integrated in some shape or form yet into the main project.</p>
<p>However, something I didn't think about until after applying the patch is that since the current implementation adds the "Found in version" directly to the issue model and view, it affects all trackers, which is problematic if you have multiple trackers for a project. At our company, for example, we use <em>Bug</em>, <em>Feature</em>, and <em>Task</em> trackers for all of our projects, but the "Found in version" field only really makes sense for issues filed in the <em>Bug</em> tracker.</p>
<p>I can easily get around this myself by either making the field not required in the view, or adding a hack to only display the field for the <em>Bug</em> tracker, but neither solution is really ideal. I suppose I could also get around it without changing any code by simply adding a dummy version to each project that users can select when creating new <em>Feature</em> or <em>Task</em> issues.</p>
<p>This makes me wonder though if this patch has a better chance of getting integrated if it implements a new custom field type that can be populated with project versions, so that it "plays nice" with multiple trackers (since custom fields can already be enabled or disabled on a per-tracker basis). In other words, something closer to what was originally suggested in <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: New Custom Field "Found in Version" (Closed)" href="https://www.redmine.org/issues/685">#685</a>.</p>
<p>I'm not sure how easy it would be to implement this as a new custom field type, but I will look into this some more and see if I can create a patch that implements it this way. If anyone's interested, let me know.</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=278042011-04-11T19:29:26ZPaulo Oliveira
<ul></ul><p>Can I use the patch added by Mike with Redmine version 1.1.2???</p>
<p>If I use this patch will I be able to update my Redmine to newer versions?</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=287692011-05-10T13:51:48ZIlia S
<ul></ul><p>I applied the <a href="http://www.redmine.org/attachments/5517/found-version-1.1.0.patch" class="external">1.1.0 patch</a> on <a href="http://www.redmine.org/projects/redmine/versions/34" class="external">Redmine 1.1.3</a> .</p>
<p>It were no errors during patching, but I am getting <cite>Found in version can't be blank</cite> error message than creating a new issue. ( obviously, I selected found in version from list)<br />What can be wrong? Should I downgrade from 1.1.3?</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=288262011-05-11T15:13:31ZBrian Lindahl
<ul></ul><p>When you create a new issue, you must give it a 'Found in version'. It's a required field in this patch. If you wish, you can change this in<br />the file 'app/views/issues/_attributes.rhtml'.</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=288302011-05-11T16:18:34ZIlia S
<ul><li><strong>File</strong> <a href="/attachments/5974">before.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5974/before.png">before.png</a> added</li><li><strong>File</strong> <a href="/attachments/5975">after.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5975/after.png">after.png</a> added</li></ul><p>Brian, thanks for your reply!<br />Indeed, I give a 'Found in version' before pressing Create, but after that 'Found in version' is empty and an error message shown( see screenshots)</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=288682011-05-12T16:48:49ZBrian Lindahl
<ul></ul><p>I wasn't able to reproduce this problem. Can you give me the details of version 10.3 (status, sharing, owned by project, etc.) as well as the project heirarchy?</p>
<p>If it was a shared version, test a non-shared version? Shared versions work fine in 1.1.0, but things could have changed in 1.1.3. Try it with 1.1.0?</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=288692011-05-12T20:29:06ZIlia S
<ul></ul><p>First of all, your patch is working fine with 1.1.0!<br />My test project is simply one project without subprojects, version 10.3 is locked, shared with all projects, owned by test project. Non-shared version does not work also.</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=310542011-07-24T22:06:25ZRoman Yeryomin
<ul></ul><p>Hello!<br />Very needed patch!<br />Is this going to be ported to 1.2 version?</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=310792011-07-25T21:38:59ZTerence Mill
<ul></ul><p>+ for this as issue custom field type</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=311052011-07-27T14:15:45ZRoman Yeryomin
<ul><li><strong>File</strong> <a href="/attachments/6353">found-in-version-1.2.1-full.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/6353/found-in-version-1.2.1-full.patch">found-in-version-1.2.1-full.patch</a> added</li></ul><p>Ok, I've modified the original patch to apply to 1.2.1<br />It applies with offsets and fuzzes but I simply didn't have much time for that.</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=368462012-03-16T15:08:52ZEric Diaz
<ul></ul><p>Hi i 'm just trying to install it on 1.3.1. i did some merge manually. All the files and database are ok but i can't see the new field in my screen. There is nothing in the log file. Any Idea ?<br />Regards</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=368552012-03-16T21:32:18ZRoman Yeryomin
<ul></ul><p>Eric Diaz wrote:</p>
<blockquote>
<p>Hi i 'm just trying to install it on 1.3.1. i did some merge manually. All the files and database are ok but i can't see the new field in my screen. There is nothing in the log file. Any Idea ?<br />Regards</p>
</blockquote>
<p>you should have at least one locked version there...<br />if you can make a patch against 1.3 I will be happy to test it</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=368832012-03-19T07:16:39ZEric Diaz
<ul></ul><p>Thanks Roman. <br />I can see the field now<br />But i can't sort issues anymore on query form. I click on apply link and nothing happens.<br />I'm working on it</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=370992012-03-28T16:38:53ZEric Diaz
<ul><li><strong>File</strong> <a href="/attachments/7386">found-in-version-1.3.2-full.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/7386/found-in-version-1.3.2-full.patch">found-in-version-1.3.2-full.patch</a> added</li></ul><p>Hi all<br />Here is the patch for 1.3.2 (Tested also on 1.3.1).<br />Don't forget to create the new column in the issues Table.</p>
<p>The issue i encountered previously was not connected to this patch but to the Extra query operators plugin (<a class="external" href="http://www.redmine.org/boards/3/topics/21015?page=2&r=24993">http://www.redmine.org/boards/3/topics/21015?page=2&r=24993</a>)</p>
<p>regards</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=403612012-08-14T11:08:04ZRoman Yeryomin
<ul><li><strong>File</strong> <a href="/attachments/8088">found-in-version-1.4.4-full.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/8088/found-in-version-1.4.4-full.patch">found-in-version-1.4.4-full.patch</a> added</li></ul><p>Seems that I successfully ported this to 1.4.4 - 2 weeks in production already.</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=474762013-03-25T21:02:34ZDipan Mehta
<ul></ul><p>How is this issue any different from <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Custom fields referencing system tables (users and versions) (Closed)" href="https://www.redmine.org/issues/2096">#2096</a>, which is already in the release?</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=475012013-03-26T08:24:02ZRoman Yeryomin
<ul></ul><p>Dipan Mehta wrote:</p>
<blockquote>
<p>How is this issue any different from <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Custom fields referencing system tables (users and versions) (Closed)" href="https://www.redmine.org/issues/2096">#2096</a>, which is already in the release?</p>
</blockquote>
<p>It tracks released versions so you cannot choose a version which is not yet released and also which is closed (unsupported).<br />I see it as having another custom field type - 'version'.</p> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=753992016-12-26T15:02:26ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/8572">Feature #8572</a>: Configuration of which versions (by version-status) are shown in version-format custom fields</i> added</li></ul> Redmine - Patch #7443: Found-in-version patchhttps://www.redmine.org/issues/7443?journal_id=754012016-12-26T15:03:30ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/17330">version-type-custom-field.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/17330/version-type-custom-field.png">version-type-custom-field.png</a> added</li><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>This "Found-in-version" can be realized by using version type custom field.</p>
<p>As of Redmine 2.5.0, we can configure version type custom field to list specific status (open / locked / closed) of versions only. (<a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Configuration of which versions (by version-status) are shown in version-format custom fields (Closed)" href="https://www.redmine.org/issues/8572">#8572</a>)</p>
<p><img src="https://www.redmine.org/attachments/download/17330/version-type-custom-field.png" alt="" /></p>