Project

General

Profile

Actions

Defect #9109

closed

Email configuration in configuration.yml seems to have precedence over email.yml

Added by Frank Helk about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
2011-08-23
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I've upgraded from redmine 1.0.3 to 1.2.0, and while doing that I decided to set the attachment directory to a path outside of the redmine path - thereby eleminating the need to move these files with every redmine update.

To do that I had to activate the use of configuration.yml, which was not needed before (stayed to the hardcoded defaults). After introducing configuration.yml I found that the email send function was broken.

That problem was caused by the fact that the email settings in configuration.yml seem to have precedence over the settings im email.yml, even while the desciption in the configuration.yml directive suggest a precedence of email.yml.

Versions (gem list --local)
fxruby (1.6.16 x86-mswin32-60)
i18n (0.4.2)
mysql (2.8.1 x86-mswin32)
rack (1.1.1, 1.0.1)
rails (2.3.11)
ruby-opengl (0.60.0 i386-mswin32)

and redmine 1.2.0

Actions #1

Updated by Etienne Massip about 13 years ago

BTW, just use configuration.yml ?!

Actions #2

Updated by Patrick Figel about 13 years ago

email.yml is deprecated. So if both email.yml and configuration.yml exist, IMHO that's expected behaviour.

Actions #3

Updated by Etienne Massip about 13 years ago

I can't find the "description in the configuration.yml directive" you are referring to?

Actions #4

Updated by Etienne Massip about 13 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

I've updated upgrade user guide to include upgrade from versions >= 1.2.0.

Please feel free to reopen the issue if needed.

Actions #5

Updated by Frank Helk about 13 years ago

Etienne Massip wrote:

I can't find the "description in the configuration.yml directive" you are referring to?

This part is somwhat misleading under the aspect of upgrading a pre-1.2.0 installation that uses email.yml:

# default configuration options for all environments
default:
  # Outgoing emails configuration (see examples above)
  email_delivery:

The updated update user guide seems to be an acceptable solution.

Actions

Also available in: Atom PDF