プロジェクト

全般

プロフィール

Vote #72212

完了

Warning in awesome_nested_set.rb

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
低め
担当者:
-
カテゴリ:
Code cleanup/refactoring_30
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
30
version_id:
47
issue_org_id:
11389
author_id:
37641
assigned_to_id:
0
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
52
ステータス-->[Closed]

説明

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

journals

It has already been fixed with r9743.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

duplicates,Closed,11466,Repository.fetch_changesets warnings

Admin Redmine さんが4年以上前に更新

  • カテゴリCode cleanup/refactoring_30 にセット
  • 対象バージョン2.1.0_47 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0