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
Updated by Jean-Philippe Lang over 12 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Seems to be a plugin issue because the error occurs when calling a hook.
Updated by Pawel Orzechowski over 12 years ago
How to track which plugin is this?
I had similiar situation a few weeks ago with another issue (#11374), I asked that question there, also asked the question on forum, but get no response.
Can you point me somehow?