Project

General

Profile

Actions

Defect #6694

closed

Bug in project name when create issue by email

Added by Denis Chumachenko about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
2010-10-18
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

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

Has duplicate Redmine - Patch #32522: Add Project.find_by_name to target_projectNew

Actions
Actions #1

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.

Actions #2

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

Actions #3

Updated by Go MAEDA about 5 years ago

  • Has duplicate Patch #32522: Add Project.find_by_name to target_project added
Actions

Also available in: Atom PDF