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 almost 12 years ago. Updated almost 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 #1

Updated by Jean-Philippe Lang almost 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.

Actions #2

Updated by Pawel Orzechowski almost 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?

Actions

Also available in: Atom PDF