プロジェクト

全般

プロフィール

Vote #73759

未完了

Can't use helper functions in Hooks

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Plugin API_20
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
20
version_id:
0
issue_org_id:
13753
author_id:
71040
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
60
ステータス-->[New]

説明

I've upgraded to Redmine 2.3. But a few of my plugins aren't working proberly. After a little bit of research, i noticed that many of the helpers dont work when called from hook.

For example, the redmine_time_tracker plugin monkey patched the ApplicationHelper and included some view helper functions, so that there always available. worked as expected in redmine 2.2. But in redmine 2.3 i'll get an error that the helper function is not available (while rendering a template).
The same with helpers like render_404 or flash etc.

I dont have specific error logs right now, but could add them if needed.


journals

Related forum: http://www.redmine.org/boards/3/topics/37345
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリPlugin API_20 にセット

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

いいね!0
いいね!0