ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Invalid watcher user error when adding an invalid user as watcher (Bug #577)

Added by Gregor Schmidt at 2011-08-15 01:58 pm. Updated at 2011-08-21 01:40 pm.

Status:Closed Start date:2011-08-15
Priority:Normal Due date:
Assignee:- % Done:


Category:Issue tracking
Target version:2.2.0
Remote issue URL: Affected version:2.1.1


We were running into the following error, after introducing a new required field to the user model. Whenever somebody, how had not yet filled in the new field, was added as watcher during issue creation, we were getting a validation error:

translation missing: en, field_watcher_users is invalid

This has been observed in Redmine as well.

The basic problem is, that Chili validates the user model, when trying to add a user to the watchers list. This should probably not happen since it is (a) not the issue's creator's fault and (b) also not done, when adding a watcher to an existing issue.

I have 'ported' the Redmine revision and attached it as pull request.

I'm happy to answer any question arising with this issue.

Associated revisions

Revision 0b6a010a
Added by Jean-Philippe Lang at 2008-02-12 11:43 pm

Translation for various hard-coded strings (#577).

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81

Revision 5d7bc5c9
Added by Jean-Philippe Lang at 2011-08-15 04:05 pm

[#577] Avoid validating users when creating watcher relation

Taken from Redmine r5880
Committed by Jean Philippe Lang

Revision 9e12deda
Added by Felix Schäfer at 2011-08-21 12:51 pm

Merge pull request #97 from finnlabs/pulls/577/invalid-watcher-user-fix

Invalid watcher user error when adding an invalid user as watcher #577


Updated by Gregor Schmidt at 2011-08-15 02:19 pm

  • Assignee deleted (Gregor Schmidt)
  • Status changed from Open to Ready for review

Updated by Felix Schäfer at 2011-08-21 01:40 pm

Merged in commit:3e56db11, thanks!

  • Status changed from Ready for review to Closed

Also available in: Atom PDF