Project

General

Profile

Actions

Defect #1405

open

Macro not working in email notification

Defect #1405: Macro not working in email notification

Added by Leith Caldwell over 9 years ago. Updated over 6 years ago.

Status:
新規(New)
Priority:
高め(High)
Category:
-
Target version:
-
Start date:
03/01/2016
Due date:
% Done:

0%

Estimated time:

Description

Adding the ref_issues macro to news items works perfectly for displaying news in the browser, however when the email notifications are sent out for those news items, I get this error:

Error executing the ref_issues macro (undefined method `session' for #
/usr/local/bundle/gems/actionpack-3.2.22/lib/action_view/helpers/controller_helper.rb:10:in `session')

This is the macro usage I am using:

{{ref_issues(-f:status_id = 5, -f:updated_on >< 2016-02-23|2016-02-29, -f:tracker_id = 1|2|6, project, tracker, subject, cf_12)}}

Actions

Also available in: PDF Atom