Project

General

Profile

Actions

Defect #3004

closed

Field lock version lacks translation

Added by Brad Beattie about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues
Target version:
Start date:
2009-03-18
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

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".


Related issues

Related to Redmine - Defect #6853: Ruby 1.9: translation missing: en, field_lock_version (ruby 1.9.1)Closed2010-11-08

Actions
Actions #1

Updated by Eric Davis about 15 years ago

  • 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).

Actions #2

Updated by Jean-Philippe Lang about 15 years ago

Can you attach the html snippet that displays this text?

Actions #3

Updated by Brad Beattie about 15 years ago

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>
Actions #4

Updated by Jean-Philippe Lang almost 15 years ago

  • 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?

Actions #5

Updated by Brad Beattie almost 15 years ago

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.

Actions #6

Updated by Brad Beattie almost 15 years ago

Testing 1

Actions #7

Updated by Brad Beattie almost 15 years ago

Testing 2

Actions #8

Updated by Brad Beattie almost 15 years ago

Odd. Doesn't seem to occur on Redmine.org, but I'm sure it works on my system with no related plugins. Hrm.

Actions #9

Updated by Eric Davis almost 15 years ago

I've seen this a lot while developing #2621, so it might only occur during a stale update.

Actions #10

Updated by Eric Davis over 14 years ago

  • 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.

Actions

Also available in: Atom PDF