Project

General

Profile

Actions

Defect #17944

closed

Helper hook doesn't change object attributes

Added by Ilya S over 9 years ago. Updated 8 months 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 over 9 years ago

  • Status changed from New to Resolved

sorry there is no bug, my bad.

Actions #2

Updated by Jean-Philippe Lang over 9 years ago

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

Updated by keineahnung 2345 8 months ago

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

Actions

Also available in: Atom PDF