Defect #3004
closed
Field lock version lacks translation
Added by Brad Beattie almost 16 years ago.
Updated about 15 years ago.
Description
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".
- Category changed from Translations to Issues
- Status changed from New to 7
- Assignee set to Eric Davis
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?
<ul>
<li><strong>translation missing: en, field_lock_version</strong> changed from <i>1</i> to <i>0</i></li>
</ul>
- Status changed from 7 to Resolved
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.
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.
- Status changed from Resolved to Closed
- Target version set to 0.9.0
- % Done changed from 0 to 100
- Affected version (unused) changed from 0.8.2 to devel
- Resolution set to Fixed
- Affected version deleted (
0.8.2)
"translation missing" errors only occur with Rails i18n so this bug is on trunk only. With r2644, this should be resolved in trunk.
Also available in: Atom
PDF