Macro errors in email updates
sphereweb83 opened this issue · comments
Hello,
I use some of macros available for knowledgebase such ask {{category()}}
and {{article()}}
. While they work find in tickets, when i receive email updates about those tickets, i get the following errors:
Error executing the category macro (undefined method
category_path' for #<#Class:0x00007fa18c089960:0x00007fa18c17e118> Did you mean? category_url)`
and
Error executing the article macro (undefined method
article_path' for #<#Class:0x000055fd81fb5840:0x000055fd8136a568> Did you mean? article_url)`
Any ideas what causes this?
Hi~
I solved this issue.
Just replace article_path to article_url in "redmine_knowledgebase\app\helpers\knowledgebase_helper.rb"
hi @kingkins thanks for your comment but I do not find the article_path to replace with article_url. Could you please post the code snippet where this change needs to take place?
I think the file that the change needs to take place is knowledgebase_link_helper.rb
I think the file that the change needs to take place is
knowledgebase_link_helper.rb
Maybe different knowledgebase version.
My path is "redmine_knowledgebase\app\helpers\knowledgebase_helper.rb" in latest version.
Anyway~ I think you solved this issue!