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)
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.
[#577] Avoid validating users when creating watcher relation
Taken from Redmine r5880
Committed by Jean Philippe Lang
The pull request is at https://github.com/chiliproject/chiliproject/pull/97/
- Assignee deleted (
- Status changed from Open to Ready for review