Defect #6694
closedBug in project name when create issue by email
0%
Description
I think you must replace the code in the function Project.find_by_identifier Project.find_by_name
otherwise it is impossible to create issues via email in case if the ID is not equal to the name of the project
app/models/mail_handler.rb
def target_project
Project.find_by_identifier change to Project.find_by_name
Related issues
Updated by Eric Davis about 14 years ago
- Status changed from New to Closed
- Estimated time deleted (
0.15 h) - Resolution set to Invalid
You need to use the identifier of the project and not the name. See RedmineReceivingEmails for the documentation.
Updated by Denis Chumachenko about 14 years ago
I think it is not logical to use Project ID . Project manager or the user may not know the Project ID but he knows the name of the project. I think it is best to use the project name in this case.
And you are using in letter field "Project:" not "Project ID:"
but how do you like ... I have to do if a separate patch .. I think that I'm not alone with this problem
Updated by Go MAEDA almost 5 years ago
- Has duplicate Patch #32522: Add Project.find_by_name to target_project added