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.
status_allowed method on issue_status returns duplicates (Bug #643)
Description
The methods "new_statuses_allowed_to" and "find_new_statuses_allowed_to" return duplicates.
Since the methods take an array of roles as a parameter and different roles can have the same status
the method will return the allowed statuses more than once.
Applying "uniq" on the result array fixes the problem.