プロジェクト

全般

プロフィール

Vote #66909

完了

translation missing: zh-TW, field_time_entrie

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

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

100%

予定工数:
category_id:
2
version_id:
21
issue_org_id:
5162
author_id:
278
assigned_to_id:
2784
comments:
9
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

I got this error message when I typed an invalid number to the time entry.

translation missing: zh-TW, field_time_entries 是無效的


journals

Please include patch or file to commit.
--------------------------------------------------------------------------------
Add field_time_entries key for both zh-TW and en locales.

--------------------------------------------------------------------------------
Maybe this string from some plugin? In core distribution this string not exist.
--------------------------------------------------------------------------------
I can reproduce this issue (I'm using Redmine from the trunk in revision 3735):

# create a required custom field for spent time,
# create new time entry without value in the field.

One of the two error messages, which appear as a result of these steps, is the message reported in this ticket.
--------------------------------------------------------------------------------
I can also reproduce this. It only occurs, if you try to create a TimeEntry during an issue update while that particular TimeEntry does not validate.

This is probably cause by a change to the behavior during issue update. The cause is probably in Issue#save_issue_with_child_records.
--------------------------------------------------------------------------------
Even i can reproduce this issue.
This issue appears to be very obvious.
I don't know how it missed your developers eyes.

Steps to reproduce
1) Create an issue and fill all required fields
2) Update the issue by entering a perfectly valid value in "Spent time" field, but don't select any options in "Activity" drop down list.

The issue appears to be not in validating the value entered in "Spent time" field, as 3, 7 are all perfectly valid values for Hour based field.

More the issue also not appeared to be related to Translation.
As i have using US English version, for that it self i am getting the following error.

"translation missing: en,
field_time_entries is invalid"
--------------------------------------------------------------------------------
Moreover Using custom field for "Spent time" is totally unnecessary to reproduce this issue.
So this issue is nothing to do with Custom Field.
--------------------------------------------------------------------------------
My guess is the "extra" validation error happens here source:/trunk/app/models/issue.rb#L495 . The problem appears to happen when you try to add an invalid time entry while updating the issue, this _does not_ happen when logging time "on its own" through the "Log time" link. The flash then shows the validation errors for the TimeEntry as well as an error that the TimeEntry is invalid (probably as part of the error messages from the issue).
--------------------------------------------------------------------------------
OK, new string added in r4007.
--------------------------------------------------------------------------------


related_issues

duplicates,Closed,6055,Missing Translatione error when logging time without Activity

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

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

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

いいね!0
いいね!0