Project

General

Profile

Actions

Defect #21695

closed

Warning "Can't mass-assign protected attributes for IssueRelation: issue_to_id"

Added by Markus Flattinger about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

WARNING: Can't mass-assign protected attributes for IssueRelation: issue_to_id
    app/models/issue_relation.rb:89:in `initialize'
    app/controllers/issue_relations_controller.rb:43:in `create'
    lib/redmine/sudo_mode.rb:63:in `sudo_mode'
Environment:
  Redmine version                3.1.3.stable.15058
  Ruby version                   2.1.5-p273 (2014-11-13) [x86_64-linux-gnu]
  Rails version                  4.2.5
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.10
  Darcs                          2.8.5
  Mercurial                      3.1.2
  Cvs                            1.12.13
  Bazaar                         2.7.0
  Git                            2.1.4
  Filesystem
Redmine plugins:
  redmine_agile                  1.3.8
  redmine_pretend                0.0.3
Actions #1

Updated by Jean-Philippe Lang about 8 years ago

  • Subject changed from Slow responce on relation creation and Warning "Can't mass-assign protected attributes for IssueRelation: issue_to_id" to Warning "Can't mass-assign protected attributes for IssueRelation: issue_to_id"
  • Category changed from Performance to Code cleanup/refactoring
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.3.0
  • Resolution set to Fixed

The warning is fixed in r15063. Please open a ticket for the performance issue and provide your debug log so we can see what slows things down. Thanks.

Actions #2

Updated by Toshi MARUYAMA about 8 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF