Project

General

Profile

translation missing: en, field_watcher_users is invalid

Added by Nanda P over 15 years ago

translation missing: en, field_watcher_users is invalid

I am getting the above message, When I tried to create an issue with watchers.

translation missing: en, field_watcher_users is invalid

How to fix this? Any idea..

RedMine_TranslationMissingErr.jpg (44.3 KB) RedMine_TranslationMissingErr.jpg translation missing: en, field_watcher_users is invalid

Replies (14)

RE: translation missing: en, field_watcher_users is invalid - Added by Nanda P over 15 years ago

C:\Program Files\redmine\current>ruby script/about
About your application's environment
Ruby version              1.8.6 (i386-mswin32)
RubyGems version          1.3.1
Rails version             2.2.2
Active Record version     2.2.2
Action Pack version       2.2.2
Active Resource version   2.2.2
Action Mailer version     2.2.2
Active Support version    2.2.2
Application root          C:/Program Files/redmine/current
Environment               development
Database adapter          mysql
Database schema version   20090324184131

RE: translation missing: en, field_watcher_users is invalid - Added by Mischa The Evil over 15 years ago

Nanda Palaniswamy wrote:

Anyone facing this issue?

I cannot replicate this error with Redmine trunk @ r2697 on a RHEL4-derivative powered by Apache 2.2.x and Phusion Passenger 2.x with Phusion Ruby Enterprise Edition 1.8.6-x against Rails 2.2.2 all running on a MySQL 4.1.x backend.

What do your logs say?

RE: translation missing: en, field_watcher_users is invalid - Added by Nanda P over 15 years ago

Hi Mischa,

Thanks for your reply.

I don't see any errors in the log.

Here is the log entry

Processing IssuesController#new (for 10.10.2.25 at 2009-04-28 08:51:58) [POST]
  Parameters: {"project_id"=>"XXXX01", "commit"=>"Create", "action"=>"new", 
"controller"=>"issues", "issue"=>{"start_date"=>"2009-04-28", "watcher_user_ids"=>["21",
"35", "46", "12", "26", "51", "33", "17", "5", "27", "22", "40", "29", "11", "30", "50",
"32", "15", "45", "20", "44", "19", "53", "16", "24", "3", "47", "34", "18", "43"], 
"estimated_hours"=>"", "priority_id"=>"4", "subject"=>"Test - Add Watchers when creating an 
issue", "description"=>"test1", "tracker_id"=>"1", "fixed_version_id"=>"", 
"category_id"=>"124", "done_ratio"=>"0", "due_date"=>"", "assigned_to_id"=>"", 
"status_id"=>"1", "custom_field_values"=>{"14"=>"EPO", "15"=>"0", "16"=>"N/A", "2"=>"PROD", 
"3"=>"Others", "4"=>""}}, "attachments"=>{"1"=>{"description"=>"", "file"=>""}}}
Rendering template within layouts/base
Rendering issues/new
Completed in 375ms (View: 187, DB: 31) | 200 OK [http://pc010630/projects/XXXX01/issues/new]

Looks like it is something to do with the users we select as watchers.

  1. I selected multiple users(10) as watchers it gave the same error 9 times.
        * translation missing: en, field_watcher_users is invalid
        * translation missing: en, field_watcher_users is invalid
        * translation missing: en, field_watcher_users is invalid
        * translation missing: en, field_watcher_users is invalid
        * translation missing: en, field_watcher_users is invalid
        * translation missing: en, field_watcher_users is invalid
        * translation missing: en, field_watcher_users is invalid
        * translation missing: en, field_watcher_users is invalid
        * translation missing: en, field_watcher_users is invalid
    

so there is something to do with the users. (not with the role)
I also checked for the role permission for every role to make sure they have permission to "add_issue_watchers" it looks fine.

RE: translation missing: en, field_watcher_users is invalid - Added by Mischa The Evil over 15 years ago

Nanda Palaniswamy wrote:

I don't see any errors in the log.

Hmm, strange error... I checked the default English strings on the current trunk (source:trunk/config/locales/en.yml) but it does not contain the field_watcher_users neither.

What exact version of Redmine are you using?

RE: translation missing: en, field_watcher_users is invalid - Added by Nanda P over 15 years ago

Mischa,

Here is the version details.

Information

Redmine 0.8.0.devel.2697 (MySQL)
Default administrator account changed    True
Attachments directory writable (C:/Program Files/redmine/current/files)    True
Plugin assets directory writable (C:/Program Files/redmine/current/public/plugin_assets)    True
RMagick available (optional)    True
C:\Program Files\redmine\current>ruby script/about
About your application's environment
Ruby version              1.8.6 (i386-mswin32)
RubyGems version          1.3.1
Rails version             2.2.2
Active Record version     2.2.2
Action Pack version       2.2.2
Active Resource version   2.2.2
Action Mailer version     2.2.2
Active Support version    2.2.2
Application root          C:/Program Files/redmine/current
Environment               development
Database adapter          mysql
Database schema version   20090425161243

C:\Program Files\redmine\current>

RE: translation missing: en, field_watcher_users is invalid - Added by Mischa The Evil over 15 years ago

Nanda Palaniswamy wrote:

Here is the version details.

Redmine 0.8.0.devel.2697 (MySQL)

Rails version 2.2.2

This combination might be your problem, since you are using the current version of the 0.8-stable branch (this is not the same as using trunk) which is not compatible with Rails 2.2.2. Instead it requires Rails 2.1.2 which not utilizes the I18N-feature brought in Rails 2.2.x.

HTH...

RE: translation missing: en, field_watcher_users is invalid - Added by Nanda P over 15 years ago

Mischa,

After upgrading to the trunk version (revision# 2714) the issue is been fixed as well.

Thanks a lot for your support.

Really appreciated

-Nanda

RE: translation missing: en, field_watcher_users is invalid - Added by Ken Stanley over 14 years ago

Mischa The Evil wrote:

This combination might be your problem, since you are using the current version of the 0.8-stable branch (this is not the same as using trunk) which is not compatible with Rails 2.2.2. Instead it requires Rails 2.1.2 which not utilizes the I18N-feature brought in Rails 2.2.x.

HTH...

I am using 0.9.3-stable, Ruby 1.8.6, Rails 2.3.5, Rake 0.8.7, and gem 1.3.6, and I am getting this message. I've tried adding field_watcher_users to the config/locale/en.yml, and I am still getting this error when trying to add watchers at ticket creation time. If I deselect the watchers, I am able to create the ticket and then add watchers (after-the-fact). Any advice would be helpful.

RE: translation missing: en, field_watcher_users is invalid - Added by Simon Z about 14 years ago

I know this is a bit old but I got the exact same error when the email configuration (email.yml) was wrong. So step one is to configure redmine to be able to send email. We are running Redmine 1.0.2.

Good Luck

Regards
Simon

RE: translation missing: en, field_watcher_users is invalid - Added by Dmitry K over 13 years ago

Hello. I have same problem:

translation missing: ru, field_watcher_users [has incorrect value]

[] - estimate translation from russian.
This error is shown when creating new ticket and adding some user as watcher. There are 2 or 3 users, who cause this error, but I've failed to find something special in their profiles. Any ideas how to fix it?

Redmine 1.1.1.stable (MySQL)

RE: translation missing: en, field_watcher_users is invalid - Added by Etienne Massip over 13 years ago

There is an issue opened for this, #5373, it says it may come from the email address of users, you should check their correctness.

RE: translation missing: en, field_watcher_users is invalid - Added by Dmitry K over 13 years ago

Oh, thanks. Loading and saving user profile seems to help.

    (1-14/14)