https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292009-03-19T05:25:52ZRedmineRedmine - Defect #3004: Field lock version lacks translationhttps://www.redmine.org/issues/3004?journal_id=81392009-03-19T05:25:52ZEric Davis
<ul><li><strong>Category</strong> changed from <i>Translations</i> to <i>Issues</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>7</i></li><li><strong>Assignee</strong> set to <i>Eric Davis</i></li></ul><p>I saw this message come up also on a recent deployment. You are right, that field should be ignored. I have some tweaks to the issue conflicts that I'm working on, I'll check this issue out at the same time (<a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Errors when editing an issue that was just edited - StaleObjectError (Closed)" href="https://www.redmine.org/issues/2621">#2621</a>).</p> Redmine - Defect #3004: Field lock version lacks translationhttps://www.redmine.org/issues/3004?journal_id=82492009-03-25T17:44:32ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Can you attach the html snippet that displays this text?</p> Redmine - Defect #3004: Field lock version lacks translationhttps://www.redmine.org/issues/3004?journal_id=82502009-03-25T17:57:43ZBrad Beattie
<ul></ul><p>Jean-Philippe Lang wrote:</p>
<blockquote>
<p>Can you attach the html snippet that displays this text?</p>
</blockquote>
<pre>
<ul>
<li><strong>translation missing: en, field_lock_version</strong> changed from <i>1</i> to <i>0</i></li>
</ul>
</pre> Redmine - Defect #3004: Field lock version lacks translationhttps://www.redmine.org/issues/3004?journal_id=84112009-04-02T17:29:57ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>7</i> to <i>Resolved</i></li></ul><p>This should definitely not appear at all. I've committed a fix in <a class="changeset" title="Make sure that lock_version changes are not stored in journals table (#3004)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2644">r2644</a> that should prevent these changes from being stored in the journals table.<br />And you should be able to remove these changes from your database with:</p>
<pre><code>delete from journal_details where property = 'attr' and prop_key = 'lock_version'</code></pre>
<p>This could be done with a migration but I've never seen that problem, so I won't add it for now.<br />Do you have some plugins that do things when an issue get saved?</p> Redmine - Defect #3004: Field lock version lacks translationhttps://www.redmine.org/issues/3004?journal_id=84162009-04-02T17:45:48ZBrad Beattie
<ul></ul><p>Jean-Philippe Lang wrote:</p>
<blockquote>
<p>Do you have some plugins that do things when an issue get saved?</p>
</blockquote>
<p>Nope. This only occurs when two people load up an issue and try to update it with some text at the same time.</p> Redmine - Defect #3004: Field lock version lacks translationhttps://www.redmine.org/issues/3004?journal_id=84172009-04-02T17:53:45ZBrad Beattie
<ul></ul><p>Testing 1</p> Redmine - Defect #3004: Field lock version lacks translationhttps://www.redmine.org/issues/3004?journal_id=84182009-04-02T17:53:46ZBrad Beattie
<ul></ul><p>Testing 2</p> Redmine - Defect #3004: Field lock version lacks translationhttps://www.redmine.org/issues/3004?journal_id=84192009-04-02T17:54:28ZBrad Beattie
<ul></ul><p>Odd. Doesn't seem to occur on Redmine.org, but I'm sure it works on my system with no related plugins. Hrm.</p> Redmine - Defect #3004: Field lock version lacks translationhttps://www.redmine.org/issues/3004?journal_id=85722009-04-09T01:15:19ZEric Davis
<ul></ul><p>I've seen this a lot while developing <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Errors when editing an issue that was just edited - StaleObjectError (Closed)" href="https://www.redmine.org/issues/2621">#2621</a>, so it might only occur during a stale update.</p> Redmine - Defect #3004: Field lock version lacks translationhttps://www.redmine.org/issues/3004?journal_id=124292009-11-25T05:52:35ZEric Davis
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>Target version</strong> set to <i>0.9.0</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Affected version (unused)</strong> changed from <i>0.8.2</i> to <i>devel</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li><li><strong>Affected version</strong> deleted (<del><i>0.8.2</i></del>)</li></ul><p>"translation missing" errors only occur with Rails i18n so this bug is on trunk only. With <a class="changeset" title="Make sure that lock_version changes are not stored in journals table (#3004)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2644">r2644</a>, this should be resolved in trunk.</p>