Defect #17944

Helper hook doesn't change object attributes

Added by Ilya S about 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Plugin API
Target version:-
Resolution:Invalid Affected version:2.5.2

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'

History

#1 Updated by Ilya S about 7 years ago

  • Status changed from New to Resolved

sorry there is no bug, my bad.

#2 Updated by Jean-Philippe Lang about 7 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Invalid

Also available in: Atom PDF