Project

General

Profile

before_save behaviour when creating new issues

Added by Razi Baluchi about 12 years ago

I'm trying to understand the difference between creating a new issue via email versus the web interface. Basically, I have a plugin that uses a 'before save' filter to set certain attributes when a new issue is created.

Everything works fine when the issue is created via the web interface. However, it does not set any attributes when creating via email. Is there a difference between the two methods that would explain this behaviour?

Thanks


Replies (1)

RE: before_save behaviour when creating new issues - Added by Roman Lukmanov about 12 years ago

I have same trouble. When issue create via web interface in redmine's log I see "Processing IssuesController#new", but when issue create via email IssueController not works and hook after_create too. I dont know how resolve this issue.

    (1-1/1)