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)
Description
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
Translation for various hard-coded strings (#577).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1143 e93f8b46-1217-0410-a6f0-8f06a7374b81
[#577] Avoid validating users when creating watcher relation
Taken from Redmine r5880
Committed by Jean Philippe Lang
History
Updated by Gregor Schmidt at 2011-08-15 02:19 pm
The pull request is at https://github.com/chiliproject/chiliproject/pull/97/
- 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