Project

General

Profile

Actions

Defect #6694

closed

Bug in project name when create issue by email

Defect #6694: Bug in project name when create issue by email

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

Status:
Closed
Priority:
High
Assignee:
-
Category:
Email receiving
Target version:
-
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 1 (1 open — 0 closed)

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

Updated by Eric Davis about 16 years ago Actions #1

  • 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 16 years ago Actions #2

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 about 7 years ago Actions #3

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

Also available in: PDF Atom