Project

General

Profile

Actions

Defect #5162

closed

translation missing: zh-TW, field_time_entrie

Added by ChunChang (Nagaharu) Lo about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues
Target version:
Start date:
2010-03-24
Due date:
2010-08-20
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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

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


Files

zh-TW.yml (39.5 KB) zh-TW.yml add field_time_entries key ChunChang (Nagaharu) Lo, 2010-03-25 01:29
en.yml (35.5 KB) en.yml add field_time_entries key ChunChang (Nagaharu) Lo, 2010-03-25 01:29

Related issues

Has duplicate Redmine - Defect #6055: Missing Translatione error when logging time without ActivityClosedAzamat Hackimov2010-08-06

Actions
Actions #1

Updated by Azamat Hackimov about 14 years ago

  • Status changed from New to 7

Please include patch or file to commit.

Actions #2

Updated by ChunChang (Nagaharu) Lo about 14 years ago

Add field_time_entries key for both zh-TW and en locales.

Actions #3

Updated by Azamat Hackimov almost 14 years ago

  • Status changed from 7 to Closed
  • Resolution set to Cant reproduce

Maybe this string from some plugin? In core distribution this string not exist.

Actions #4

Updated by Ondra Starek almost 14 years ago

  • Status changed from Closed to Reopened

I can reproduce this issue (I'm using Redmine from the trunk in revision 3735):

  1. create a required custom field for spent time,
  2. 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.

Actions #5

Updated by Holger Just almost 14 years ago

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.

Actions #6

Updated by Raghu Sunderam over 13 years ago

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"

Actions #7

Updated by Raghu Sunderam over 13 years ago

Moreover Using custom field for "Spent time" is totally unnecessary to reproduce this issue.
So this issue is nothing to do with Custom Field.

Actions #8

Updated by Felix Schäfer over 13 years ago

  • Category changed from Translations to Issues
  • Assignee changed from Azamat Hackimov to Holger Just

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

Actions #9

Updated by Azamat Hackimov over 13 years ago

  • Due date set to 2010-08-20
  • Status changed from Reopened to Closed
  • Target version set to 1.0.1
  • Resolution changed from Cant reproduce to Fixed

OK, new string added in r4007.

Actions

Also available in: Atom PDF