Project

General

Profile

Actions

Defect #17944

closed

Helper hook doesn't change object attributes

Added by Ilya S about 10 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

module RedmineIssueChecklist::Hooks
  class Hooks < Redmine::Hook::ViewListener
    def helper_issues_show_detail_after_setting(context={})
      context[:value] = 'test'
    end
  end
end

then check value in issues_helper.rb and get nil or something other, but not 'test'

Actions #1

Updated by Ilya S about 10 years ago

  • Status changed from New to Resolved

sorry there is no bug, my bad.

Actions #2

Updated by Jean-Philippe Lang about 10 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Invalid
Actions #3

Updated by keineahnung 2345 over 1 year ago

The same issue happens to me. How did you solve your problem?

Actions

Also available in: Atom PDF