https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-10-31T02:33:03ZRedmineRedmine - Feature #12251: Custom fields: 'Multiple values' should be able to be checked and then uncheckedhttps://www.redmine.org/issues/12251?journal_id=425522012-10-31T02:33:03ZAnonymous
<ul></ul><p>I realize the risk involved with this, but agree some solution needs to be in place... I'm sure most people who check the box have no idea it's a commitment until after the fact.</p>
<p>You can always, of course, go into the database manually, find the custom fields table, and change that field's value in the 'multiple' column to 0.</p> Redmine - Feature #12251: Custom fields: 'Multiple values' should be able to be checked and then uncheckedhttps://www.redmine.org/issues/12251?journal_id=440892013-01-12T09:13:33ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>'List' custom fields: 'Multiple values' should be able to be checked and then unchecked</i> to <i>Custom fields: 'Multiple values' should be able to be checked and then unchecked</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li><li><strong>Target version</strong> set to <i>2.3.0</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Fixed in <a class="changeset" title="Ability to uncheck "Multiple values" for existing custom fields (#12251)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/11167">r11167</a>. You are now able to uncheck it. It will remove duplicate values and preserve only one value for each item.</p> Redmine - Feature #12251: Custom fields: 'Multiple values' should be able to be checked and then uncheckedhttps://www.redmine.org/issues/12251?journal_id=440912013-01-12T10:52:45ZDaniel Felix
<ul></ul><p>Hi there,</p>
<p>is there a reference which values getting lost? Alphabetically sorted or in which order?</p> Redmine - Feature #12251: Custom fields: 'Multiple values' should be able to be checked and then uncheckedhttps://www.redmine.org/issues/12251?journal_id=440932013-01-12T12:15:20ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>As documented at <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/11167/entry/trunk/app/models/custom_field.rb#L340">source:/trunk/app/models/custom_field.rb@11167#L340</a>, value with the highest id for each customized object is kept.</p> Redmine - Feature #12251: Custom fields: 'Multiple values' should be able to be checked and then uncheckedhttps://www.redmine.org/issues/12251?journal_id=440942013-01-12T12:39:02ZDaniel Felix
<ul></ul><p>Jean-Philippe Lang wrote:</p>
<blockquote>
<p>As documented at <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/11167/entry/trunk/app/models/custom_field.rb#L340">source:/trunk/app/models/custom_field.rb@11167#L340</a>, value with the highest id for each customized object is kept.</p>
</blockquote>
<p>Thanks! Haven't seen this comment. :-)</p> Redmine - Feature #12251: Custom fields: 'Multiple values' should be able to be checked and then uncheckedhttps://www.redmine.org/issues/12251?journal_id=442902013-01-14T11:24:00ZNicklas Holm
<ul></ul><p>Jean-Philippe Lang wrote:</p>
<blockquote>
<p>Fixed in <a class="changeset" title="Ability to uncheck "Multiple values" for existing custom fields (#12251)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/11167">r11167</a>. You are now able to uncheck it. It will remove duplicate values and preserve only one value for each item.</p>
</blockquote>
<p>Am I the only one who interprets the warning message as if only values occuring more than once will be removed? I'm not sure they actually can, but that's my idea of 'duplicate'.</p> Redmine - Feature #12251: Custom fields: 'Multiple values' should be able to be checked and then uncheckedhttps://www.redmine.org/issues/12251?journal_id=447302013-01-20T13:48:46ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Nicklas Holm wrote:</p>
<blockquote>
<p>Am I the only one who interprets the warning message as if only values occuring more than once will be removed? I'm not sure they actually can, but that's my idea of 'duplicate'.</p>
</blockquote>
<p>Right, <a class="changeset" title="Adjust warning message (#12251)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/11218">r11218</a> changes 'duplicate' to 'multiple' in the warning message.</p>