Project

General

Profile

Actions

Defect #11389

closed

Warning in awesome_nested_set.rb

Added by Jean-Sébastien Pédron over 12 years ago. Updated over 12 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

We have the following warning:

DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically.
Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead.
(called from include at /var/lib/redmine/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58)

It doesn't do any harm on our side, but it seems related to issue #11072.

Anyway, to fix it, I followed what I found in the following answer on Stackoverflow and it did work:
http://stackoverflow.com/a/8684885
(eg. removing the "module InstanceMethods" declaration and the corresponding "end").

Usual informations:
  • Redmine 2.0.3 from SVN r9959 (branches/2.0-stable)
  • Ruby 1.8.7
  • Rails 3.2.6
  • Debian Squeeze

Related issues

Has duplicate Redmine - Defect #11466: Repository.fetch_changesets warningsClosed

Actions
Actions #1

Updated by Etienne Massip over 12 years ago

  • Category set to Code cleanup/refactoring
  • Status changed from New to Resolved
  • Target version set to 2.1.0
  • Affected version (unused) set to 2.0.3
  • Resolution set to Fixed
  • Affected version set to 2.0.3

It has already been fixed with r9743.

Actions #2

Updated by Jean-Philippe Lang over 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF