プロジェクト

全般

プロフィール

Vote #64908

完了

Field lock version lacks translation

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
開始日:
2009/03/18
期日:
進捗率:

100%

予定工数:
category_id:
2
version_id:
6
issue_org_id:
3004
author_id:
2928
assigned_to_id:
5
comments:
10
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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)

Admin Redmine さんが3年以上前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン0.9.0_6 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0