Project

General

Profile

Actions

Defect #11504

closed

While an issue is assigned to a group changing the issue status generates an error

Added by Pawel Orzechowski over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

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

production.log.part.txt (3.73 KB) production.log.part.txt Pawel Orzechowski, 2012-07-25 00:50
Actions

Also available in: Atom PDF