Defect #11504
closedWhile an issue is assigned to a group changing the issue status generates an error
0%
Description
If an issue is assigned to a group and not to user and one wants to change its status (eg. from New to Resolved) then after clicking create the error page shows:
"Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine
administrator for assistance.
If you are the Redmine administrator, check your log files for details
about the error.
"
After checking production.log I found that there is a statement ActiveRecord::AssociationTypeMismatch (User(#70073366359000) expected, got Group(#70073332635960)):
which suggests that maybe there is something wrong with association/assignemnt.
So when I change "assigned to" from group to a user, the status is updated correctly.
Files