Vote #64908
完了Field lock version lacks translation
100%
説明
When two people edit the same issue at the same time, I get the following message appended to the issue's changes:
translation missing: en, field_lock_version
Truthfully, I don't think this message should even display. I find my users ask me things like "It changed from 7 to 6, but I have no idea what that means".
journals
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 (#2621).
--------------------------------------------------------------------------------
Can you attach the html snippet that displays this text?
--------------------------------------------------------------------------------
Jean-Philippe Lang wrote:
> Can you attach the html snippet that displays this text?
<pre>
<ul>
<li><strong>translation missing: en, field_lock_version</strong> changed from <i>1</i> to <i>0</i></li>
</ul>
</pre>
--------------------------------------------------------------------------------
This should definitely not appear at all. I've committed a fix in r2644 that should prevent these changes from being stored in the journals table.
And you should be able to remove these changes from your database with:
delete from journal_details where property = 'attr' and prop_key = 'lock_version'
This could be done with a migration but I've never seen that problem, so I won't add it for now.
Do you have some plugins that do things when an issue get saved?
--------------------------------------------------------------------------------
Jean-Philippe Lang wrote:
> Do you have some plugins that do things when an issue get saved?
Nope. This only occurs when two people load up an issue and try to update it with some text at the same time.
--------------------------------------------------------------------------------
Testing 1
--------------------------------------------------------------------------------
Testing 2
--------------------------------------------------------------------------------
Odd. Doesn't seem to occur on Redmine.org, but I'm sure it works on my system with no related plugins. Hrm.
--------------------------------------------------------------------------------
I've seen this a lot while developing #2621, so it might only occur during a stale update.
--------------------------------------------------------------------------------
"translation missing" errors only occur with Rails i18n so this bug is on trunk only. With r2644, this should be resolved in trunk.
--------------------------------------------------------------------------------
related_issues
relates,Closed,6853,Ruby 1.9: translation missing: en, field_lock_version (ruby 1.9.1)